LCOV - code coverage report
Current view: top level - EnergyPlus - OutputReportPredefined.hh (source / functions) Hit Total Coverage
Test: lcov.output.filtered Lines: 14 17 82.4 %
Date: 2024-08-24 18:31:18 Functions: 7 8 87.5 %

          Line data    Source code
       1             : // EnergyPlus, Copyright (c) 1996-2024, 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         796 :         reportNameType() : show(false)
      89             :         {
      90         796 :         }
      91             :     };
      92             : 
      93             :     struct SubTableType
      94             :     {
      95             :         // Members
      96             :         std::string name;
      97             :         int indexReportName;
      98             :         std::string footnote;
      99             : 
     100             :         // Default Constructor
     101        1221 :         SubTableType() : indexReportName(0)
     102             :         {
     103        1221 :         }
     104             :     };
     105             : 
     106             :     struct ColumnTagType
     107             :     {
     108             :         // Members
     109             :         std::string heading;
     110             :         int indexSubTable;
     111             : 
     112             :         // Default Constructor
     113        3980 :         ColumnTagType() : indexSubTable(0)
     114             :         {
     115        3980 :         }
     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        5105 :         TableEntryType() : indexColumn(0), subTableIndex(0), uniqueObjName(0), origRealEntry(0.0), significantDigits(0), origEntryIsReal(false)
     132             :         {
     133        5105 :         }
     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        1004 :         CompSizeTableEntryType() : valField(0.0), active(false), written(false)
     148             :         {
     149        1004 :         }
     150             :     };
     151             : 
     152             :     struct ShadowRelateType
     153             :     {
     154             :         // Members
     155             :         int castSurf;
     156             :         int recSurf;
     157             :         int recKind;
     158             : 
     159             :         // Default Constructor
     160         672 :         ShadowRelateType() : castSurf(0), recSurf(0), recKind(0)
     161             :         {
     162         672 :         }
     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 pdchOpRefl = 0;
     486             :     int pdchOpUfactFilm = 0;
     487             :     int pdchOpUfactNoFilm = 0;
     488             :     int pdchOpGrArea = 0;
     489             :     int pdchOpNetArea = 0;
     490             :     int pdchOpAzimuth = 0;
     491             :     int pdchOpTilt = 0;
     492             :     int pdchOpDir = 0;
     493             :     int pdstIntOpaque = 0;
     494             :     int pdchIntOpCons = 0;
     495             :     int pdchIntOpZone = 0;
     496             :     int pdchIntOpAdjSurf = 0;
     497             :     int pdchIntOpRefl = 0;
     498             :     int pdchIntOpUfactFilm = 0;
     499             :     int pdchIntOpUfactNoFilm = 0;
     500             :     int pdchIntOpGrArea = 0;
     501             :     int pdchIntOpNetArea = 0;
     502             :     int pdchIntOpAzimuth = 0;
     503             :     int pdchIntOpTilt = 0;
     504             :     int pdchIntOpDir = 0;
     505             :     int pdstFen = 0;
     506             :     int pdchFenCons = 0;
     507             :     int pdchFenFrameDivName = 0;
     508             :     int pdchFenAreaOf1 = 0;
     509             :     int pdchFenGlassAreaOf1 = 0;
     510             :     int pdchFenFrameAreaOf1 = 0;
     511             :     int pdchFenDividerAreaOf1 = 0;
     512             :     int pdchFenArea = 0;
     513             :     int pdchFenUfact = 0;
     514             :     int pdchFenSHGC = 0;
     515             :     int pdchFenVisTr = 0;
     516             :     int pdchFenAssemNfrcType = 0;
     517             :     int pdchFenAssemUfact = 0;
     518             :     int pdchFenAssemSHGC = 0;
     519             :     int pdchFenAssemVisTr = 0;
     520             :     int pdchFenFrameConductance = 0;
     521             :     int pdchFenDividerConductance = 0;
     522             :     int pdchFenSwitchable = 0;
     523             :     int pdchFenParent = 0;
     524             :     int pdchFenAzimuth = 0;
     525             :     int pdchFenTilt = 0;
     526             :     int pdchFenDir = 0;
     527             : 
     528             :     int pdstFenShd = 0;
     529             :     int pdchFenShdFrameDiv = 0;
     530             :     int pdchFenShdUfact = 0;
     531             :     int pdchFenShdSHGC = 0;
     532             :     int pdchFenShdVisTr = 0;
     533             :     int pdchFenShdAssemNfrcType = 0;
     534             :     int pdchFenShdAssemUfact = 0;
     535             :     int pdchFenShdAssemSHGC = 0;
     536             :     int pdchFenShdAssemVisTr = 0;
     537             : 
     538             :     int pdstDoor = 0;
     539             :     int pdchDrCons = 0;
     540             :     int pdchDrUfactFilm = 0;
     541             :     int pdchDrUfactNoFilm = 0;
     542             :     int pdchDrGrArea = 0;
     543             :     int pdchDrParent = 0;
     544             :     int pdstIntDoor = 0;
     545             :     int pdchIntDrCons = 0;
     546             :     int pdchIntDrUfactFilm = 0;
     547             :     int pdchIntDrUfactNoFilm = 0;
     548             :     int pdchIntDrGrArea = 0;
     549             :     int pdchIntDrParent = 0;
     550             :     int pdstIntFen = 0;
     551             :     int pdchIntFenCons = 0;
     552             :     int pdchIntFenAreaOf1 = 0;
     553             :     int pdchIntFenArea = 0;
     554             :     int pdchIntFenUfact = 0;
     555             :     int pdchIntFenSHGC = 0;
     556             :     int pdchIntFenVisTr = 0;
     557             :     int pdchIntFenParent = 0;
     558             : 
     559             :     int pdstOpqConsLayers = 0;
     560             :     std::vector<int> pdchOpqConsLayCol;
     561             : 
     562             :     // Shading Report
     563             :     int pdrShading = 0;
     564             :     int pdstSunlitFrac = 0;
     565             :     int pdchSlfMar21_9 = 0;
     566             :     int pdchSlfMar21_12 = 0;
     567             :     int pdchSlfMar21_15 = 0;
     568             :     int pdchSlfJun21_9 = 0;
     569             :     int pdchSlfJun21_12 = 0;
     570             :     int pdchSlfJun21_15 = 0;
     571             :     int pdchSlfDec21_9 = 0;
     572             :     int pdchSlfDec21_12 = 0;
     573             :     int pdchSlfDec21_15 = 0;
     574             :     int pdstWindowControl = 0;
     575             :     int pdchWscName = 0;
     576             :     int pdchWscShading = 0;
     577             :     int pdchWscShadCons = 0;
     578             :     int pdchWscControl = 0;
     579             :     int pdchWscGlare = 0;
     580             : 
     581             :     // Lighting Report
     582             :     int pdrLighting = 0;
     583             :     int pdstInLite = 0;
     584             :     int pdchInLtZone = 0;
     585             :     int pdchInLtSpace = 0;
     586             :     int pdchInLtSpaceType = 0;
     587             :     int pdchInLtDens = 0;
     588             :     int pdchInLtArea = 0;
     589             :     int pdchInLtPower = 0;
     590             :     int pdchInLtEndUse = 0;
     591             :     int pdchInLtSchd = 0;
     592             :     int pdchInLtAvgHrSchd = 0;
     593             :     int pdchInLtAvgHrOper = 0;
     594             :     int pdchInLtFullLoadHrs = 0;
     595             :     int pdchInLtRetAir = 0;
     596             :     int pdchInLtCond = 0;
     597             :     int pdchInLtConsump = 0;
     598             :     int pdstExtLite = 0;
     599             :     int pdchExLtPower = 0;
     600             :     int pdchExLtClock = 0;
     601             :     int pdchExLtSchd = 0;
     602             :     int pdchExLtAvgHrSchd = 0;
     603             :     int pdchExLtAvgHrOper = 0;
     604             :     int pdchExLtFullLoadHrs = 0;
     605             :     int pdchExLtConsump = 0;
     606             :     int pdstDaylight = 0;
     607             :     int pdchDyLtZone = 0;
     608             :     int pdchDyLtCtrlName = 0;
     609             :     int pdchDyLtKind = 0;
     610             :     int pdchDyLtCtrlType = 0;
     611             :     int pdchDyLtFrac = 0;
     612             :     int pdchDyLtWInst = 0;
     613             :     int pdchDyLtWCtrl = 0;
     614             : 
     615             :     // Sizing Report
     616             :     int pdrSizing = 0;
     617             :     int pdstSpaceClSize = 0;
     618             :     int pdchSpClCalcDesLd = 0;
     619             :     int pdchSpClUserDesLd = 0;
     620             :     int pdchSpClUserDesLdPerArea = 0;
     621             :     int pdchSpClCalcDesAirFlow = 0;
     622             :     int pdchSpClUserDesAirFlow = 0;
     623             :     int pdchSpClDesDay = 0;
     624             :     int pdchSpClPkTime = 0;
     625             :     int pdchSpClPkTstatTemp = 0;
     626             :     int pdchSpClPkIndTemp = 0;
     627             :     int pdchSpClPkIndHum = 0;
     628             :     int pdchSpClPkOATemp = 0;
     629             :     int pdchSpClPkOAHum = 0;
     630             :     int pdchSpClPkOAMinFlow = 0;
     631             :     int pdchSpClPkDOASHeatGain = 0;
     632             :     int pdstZoneClSize = 0;
     633             :     int pdchZnClCalcDesLd = 0;
     634             :     int pdchZnClUserDesLd = 0;
     635             :     int pdchZnClUserDesLdPerArea = 0;
     636             :     int pdchZnClCalcDesAirFlow = 0;
     637             :     int pdchZnClUserDesAirFlow = 0;
     638             :     int pdchZnClDesDay = 0;
     639             :     int pdchZnClPkTime = 0;
     640             :     int pdchZnClPkTstatTemp = 0;
     641             :     int pdchZnClPkIndTemp = 0;
     642             :     int pdchZnClPkIndHum = 0;
     643             :     int pdchZnClPkOATemp = 0;
     644             :     int pdchZnClPkOAHum = 0;
     645             :     int pdchZnClPkOAMinFlow = 0;
     646             :     int pdchZnClPkDOASHeatGain = 0;
     647             :     int pdstSpaceHtSize = 0;
     648             :     int pdchSpHtCalcDesLd = 0;
     649             :     int pdchSpHtUserDesLd = 0;
     650             :     int pdchSpHtUserDesLdPerArea = 0;
     651             :     int pdchSpHtCalcDesAirFlow = 0;
     652             :     int pdchSpHtUserDesAirFlow = 0;
     653             :     int pdchSpHtDesDay = 0;
     654             :     int pdchSpHtPkTime = 0;
     655             :     int pdchSpHtPkTstatTemp = 0;
     656             :     int pdchSpHtPkIndTemp = 0;
     657             :     int pdchSpHtPkIndHum = 0;
     658             :     int pdchSpHtPkOATemp = 0;
     659             :     int pdchSpHtPkOAHum = 0;
     660             :     int pdchSpHtPkOAMinFlow = 0;
     661             :     int pdchSpHtPkDOASHeatGain = 0;
     662             :     int pdstZoneHtSize = 0;
     663             :     int pdchZnHtCalcDesLd = 0;
     664             :     int pdchZnHtUserDesLd = 0;
     665             :     int pdchZnHtUserDesLdPerArea = 0;
     666             :     int pdchZnHtCalcDesAirFlow = 0;
     667             :     int pdchZnHtUserDesAirFlow = 0;
     668             :     int pdchZnHtDesDay = 0;
     669             :     int pdchZnHtPkTime = 0;
     670             :     int pdchZnHtPkTstatTemp = 0;
     671             :     int pdchZnHtPkIndTemp = 0;
     672             :     int pdchZnHtPkIndHum = 0;
     673             :     int pdchZnHtPkOATemp = 0;
     674             :     int pdchZnHtPkOAHum = 0;
     675             :     int pdchZnHtPkOAMinFlow = 0;
     676             :     int pdchZnHtPkDOASHeatGain = 0;
     677             :     int pdstSystemSize = 0;
     678             :     int pdchSysSizCalcClAir = 0;
     679             :     int pdchSysSizUserClAir = 0;
     680             :     int pdchSysSizCalcHtAir = 0;
     681             :     int pdchSysSizUserHtAir = 0;
     682             :     int pdchSysSizAdjustedClAir = 0;
     683             :     int pdchSysSizAdjustedHtAir = 0;
     684             :     int pdchSysSizAdjustedMainAir = 0;
     685             :     int pdchSysSizCalcHeatFlowRatio = 0;
     686             :     int pdchSysSizUserHeatFlowRatio = 0;
     687             :     int pdstPlantSize = 0;
     688             :     int pdchPlantSizCalcVdot = 0;
     689             :     int pdchPlantSizMeasVdot = 0;
     690             :     int pdchPlantSizPrevVdot = 0;
     691             :     int pdchPlantSizCoincYesNo = 0;
     692             :     int pdchPlantSizDesDay = 0;
     693             :     int pdchPlantSizPkTimeHour = 0;
     694             :     int pdchPlantSizPkTimeDayOfSim = 0;
     695             :     int pdchPlantSizPkTimeMin = 0;
     696             : 
     697             :     // Coil Selection Table
     698             :     int pdrCoilSizingDetailsTable = 0;
     699             :     int pdstCoilSummaryCoilSelection = 0;
     700             :     int pdchCoilLocation = 0;
     701             :     int pdchCoilHVACType = 0;
     702             :     int pdchCoilHVACName = 0;
     703             :     int pdchCoilZoneName = 0;
     704             :     int pdchCoilName = 0;
     705             :     int pdchCoilType = 0;
     706             :     int pdchSysSizingMethCoinc = 0;
     707             :     int pdchSysSizingMethCap = 0;
     708             :     int pdchSysSizingMethAir = 0;
     709             : 
     710             :     int pdchCoilIsCapAutosized = 0;
     711             :     int pdchCoilIsAirFlowAutosized = 0;
     712             :     int pdchCoilIsWaterFlowAutosized = 0;
     713             :     int pdchCoilIsOATreated = 0;
     714             :     int pdchCoilFinalTotalCap = 0;
     715             :     int pdchCoilFinalSensCap = 0;
     716             :     int pdchCoilFinalAirVolFlowRate = 0;
     717             :     int pdchCoilFinalPlantVolFlowRate = 0;
     718             : 
     719             :     int pdchCoilDDnameSensIdealPeak = 0;
     720             :     int pdchCoilDateTimeSensIdealPeak = 0;
     721             :     int pdchCoilDDnameTotIdealPeak = 0;
     722             :     int pdchCoilDateTimeTotIdealPeak = 0;
     723             :     int pdchCoilDDnameAirFlowIdealPeak = 0;
     724             :     int pdchCoilDateTimeAirFlowIdealPeak = 0;
     725             :     int pdchCoilPeakLoadTypeToSizeOn = 0;
     726             :     int pdchCoilTotalCapIdealPeak = 0;
     727             :     int pdchCoilSensCapIdealPeak = 0;
     728             :     int pdchCoilAirMassFlowIdealPeak = 0;
     729             :     int pdchCoilAirVolumeFlowIdealPeak = 0;
     730             :     int pdchCoilEntDryBulbIdealPeak = 0;
     731             :     int pdchCoilEntWetBulbIdealPeak = 0;
     732             :     int pdchCoilEntHumRatIdealPeak = 0;
     733             :     int pdchCoilEntEnthalpyIdealPeak = 0;
     734             :     int pdchCoilLvgDryBulbIdealPeak = 0;
     735             :     int pdchCoilLvgWetBulbIdealPeak = 0;
     736             :     int pdchCoilLvgHumRatIdealPeak = 0;
     737             :     int pdchCoilLvgEnthalpyIdealPeak = 0;
     738             :     int pdchCoilWaterMassFlowIdealPeak = 0;
     739             :     int pdchCoilEntWaterTempIdealPeak = 0;
     740             :     int pdchCoilLvgWaterTempIdealPeak = 0;
     741             :     int pdchCoilWaterDeltaTempIdealPeak = 0;
     742             :     int pdchCoilRatedTotalCap = 0;
     743             :     int pdchCoilRatedSensCap = 0;
     744             :     int pdchCoilOffRatingCapacityModifierIdealPeak = 0;
     745             :     int pdchCoilOffRatingCapacityModifierSimPeak = 0;
     746             :     int pdchCoilRatedAirMass = 0;
     747             :     int pdchCoilRatedEntDryBulb = 0;
     748             :     int pdchCoilRatedEntWetBulb = 0;
     749             :     int pdchCoilRatedEntHumRat = 0;
     750             :     int pdchCoilRatedEntEnthalpy = 0;
     751             :     int pdchCoilRatedLvgDryBulb = 0;
     752             :     int pdchCoilRatedLvgWetBulb = 0;
     753             :     int pdchCoilRatedLvgHumRat = 0;
     754             :     int pdchCoilRatedLvgEnthalpy = 0;
     755             :     int pdchCoilRatedWaterMass = 0;
     756             :     int pdchCoilRatedEntWaterTemp = 0;
     757             :     int pdchCoilRatedLvgWaterTemp = 0;
     758             :     int pdchCoilRatedWaterDeltaTemp = 0;
     759             : 
     760             :     int pdchFanAssociatedWithCoilName = 0;
     761             :     int pdchFanAssociatedWithCoilType = 0;
     762             :     int pdchFanAssociatedVdotSize = 0;
     763             :     int pdchFanAssociatedMdotSize = 0;
     764             : 
     765             :     int pdchFanHeatGainIdealPeak = 0;
     766             :     int pdchCoilNetTotalCapacityIdealPeak = 0;
     767             :     int pdchCoilPlantLoopName = 0;
     768             : 
     769             :     int pdchPlantMassFlowMaximum = 0;
     770             :     int pdchPlantRetTempDesign = 0;
     771             :     int pdchPlantSupTempDesign = 0;
     772             :     int pdchPlantDeltaTempDesign = 0;
     773             :     int pdchPlantCapacity = 0;
     774             :     int pdchCoilCapPrcntPlantCapacity = 0;
     775             :     int pdchCoilFlowPrcntPlantFlow = 0;
     776             :     int pdchOADryBulbIdealPeak = 0;
     777             :     int pdchOAHumRatIdealPeak = 0;
     778             :     int pdchOAWetBulbatIdealPeak = 0;
     779             :     int pdchOAVolFlowIdealPeak = 0;
     780             :     int pdchOAFlowPrcntIdealPeak = 0;
     781             :     int pdchOABarometricPressureIdealPeak = 0;
     782             : 
     783             :     int pdchAirSysRADryBulbIdealPeak = 0;
     784             :     int pdchAirSysRAHumRatIdealPeak = 0;
     785             :     int pdchZoneAirDryBulbIdealPeak = 0;
     786             :     int pdchZoneAirHumRatIdealPeak = 0;
     787             :     int pdchZoneAirRelHumIdealPeak = 0;
     788             :     int pdchCoilUA = 0;
     789             :     int pdchZoneSensibleLoadIdealPeak = 0;
     790             :     int pdchZoneLatentLoadIdealPeak = 0;
     791             :     int pdchCoilIdealSizCapOverSimPeak = 0;
     792             :     int pdchCoilIdealSizCapUnderSimPeak = 0;
     793             :     int pdchReheatCoilMultiplier = 0;
     794             :     int pdchFlowCapRatioLowCapIncreaseRatio = 0;
     795             :     int pdchFlowCapRatioHiCapDecreaseRatio = 0;
     796             :     int pdchPlantFluidSpecificHeat = 0;
     797             :     int pdchPlantFluidDensity = 0;
     798             :     int pdchMoistAirSpecificHeat = 0;
     799             :     int pdchDryAirSpecificHeat = 0;
     800             :     int pdchStandRhoAir = 0;
     801             : 
     802             :     // Std 229 Coil Connections
     803             :     int pdstCoilConnections = 0;
     804             :     int pdchCoilName_CCs = 0;
     805             :     int pdchCoilType_CCs = 0;
     806             :     int pdchCoilLoc_CCs = 0;
     807             :     int pdchCoilHVACType_CCs = 0;
     808             :     int pdchCoilHVACName_CCs = 0;
     809             :     int pdchCoilZoneNames_CCs = 0;
     810             :     int pdchCoilSupFanName_CCs = 0;
     811             :     int pdchCoilSupFanType_CCs = 0;
     812             :     int pdchCoilPlantName_CCs = 0;     // Plant Name for Coil*
     813             :     int pdchCoilAirloopName_CCs = 0;   // Airloop Name
     814             :     int pdchCoilPlantloopName_CCs = 0; // Plant Loop Name
     815             : 
     816             :     // Coil Sizing Summary (subset of Coil Selection Table)
     817             :     int pdst2CoilSummaryCoilSelection = 0;
     818             :     int pdch2CoilName = 0;
     819             :     int pdch2CoilType = 0;
     820             :     int pdch2CoilHVACType = 0;
     821             :     int pdch2CoilHVACName = 0;
     822             : 
     823             :     int pdch2CoilFinalTotalCap = 0;
     824             :     int pdch2CoilFinalSensCap = 0;
     825             :     int pdch2CoilFinalAirVolFlowRate = 0;
     826             :     int pdch2CoilFinalPlantVolFlowRate = 0;
     827             :     int pdch2CoilUA = 0;
     828             : 
     829             :     int pdch2CoilDDnameSensIdealPeak = 0;
     830             :     int pdch2CoilDateTimeSensIdealPeak = 0;
     831             :     int pdch2CoilDDnameAirFlowIdealPeak = 0;
     832             :     int pdch2CoilDateTimeAirFlowIdealPeak = 0;
     833             :     int pdch2CoilTotalCapIdealPeak = 0;
     834             :     int pdch2CoilSensCapIdealPeak = 0;
     835             :     int pdch2CoilAirVolumeFlowIdealPeak = 0;
     836             :     int pdch2CoilEntDryBulbIdealPeak = 0;
     837             :     int pdch2CoilEntWetBulbIdealPeak = 0;
     838             :     int pdch2CoilEntHumRatIdealPeak = 0;
     839             :     int pdch2CoilLvgDryBulbIdealPeak = 0;
     840             :     int pdch2CoilLvgWetBulbIdealPeak = 0;
     841             :     int pdch2CoilLvgHumRatIdealPeak = 0;
     842             :     int pdch2CoilRatedTotalCap = 0;
     843             :     int pdch2CoilRatedSensCap = 0;
     844             : 
     845             :     int pdch2OADryBulbIdealPeak = 0;
     846             :     int pdch2OAHumRatIdealPeak = 0;
     847             :     int pdch2OAWetBulbatIdealPeak = 0;
     848             :     int pdch2OAFlowPrcntIdealPeak = 0;
     849             :     int pdch2ZoneAirDryBulbIdealPeak = 0;
     850             :     int pdch2ZoneAirHumRatIdealPeak = 0;
     851             :     int pdch2ZoneAirRelHumIdealPeak = 0;
     852             :     int pdch2ZoneSensibleLoadIdealPeak = 0;
     853             :     int pdch2ZoneLatentLoadIdealPeak = 0;
     854             : 
     855             :     // System summary
     856             :     int pdrSystem = 0;
     857             :     int pdstEconomizer = 0;
     858             :     int pdchEcoKind = 0;
     859             :     int pdchEcoMinOA = 0;
     860             :     int pdchEcoMaxOA = 0;
     861             :     int pdchEcoRetTemp = 0;
     862             :     int pdchEcoRetEnth = 0;
     863             :     int pdchEcoOATempLim = 0;
     864             :     int pdchEcoOAEnthLim = 0;
     865             :     int pdstDemCntlVent = 0;
     866             :     int pdchDCVventMechName = 0;
     867             :     int pdchDCVperPerson = 0;
     868             :     int pdchDCVperArea = 0;
     869             :     int pdchDCVperZone = 0;
     870             :     int pdchDCVperACH = 0;
     871             :     int pdchDCVMethod = 0;
     872             :     int pdchDCVOASchName = 0;
     873             : 
     874             :     // added for new DCV
     875             :     int pdchDCVZoneADEffCooling = 0;
     876             :     int pdchDCVZoneADEffHeating = 0;
     877             :     int pdchDCVZoneADEffSchName = 0;
     878             :     int pdchDCVType = 0;
     879             : 
     880             :     int pdstSimpleComfort = 0;
     881             :     int pdchSCwinterClothes = 0;
     882             :     int pdchSCsummerClothes = 0;
     883             :     int pdchSCeitherClothes = 0;
     884             :     int pdstUnmetLoads = 0;
     885             :     int pdchULnotMetHeat = 0;
     886             :     int pdchULnotMetCool = 0;
     887             :     int pdchULnotMetHeatOcc = 0;
     888             :     int pdchULnotMetCoolOcc = 0;
     889             : 
     890             :     int pdstStatSchd = 0;
     891             :     int pdchStatName = 0;
     892             :     int pdchStatCtrlTypeSchd = 0;
     893             :     int pdchStatSchdType1 = 0;
     894             :     int pdchStatSchdTypeName1 = 0;
     895             :     int pdchStatSchdHeatName = 0;
     896             :     int pdchStatSchdCoolName = 0;
     897             : 
     898             :     // HVAC Topology
     899             :     int pdrTopology = 0;
     900             : 
     901             :     int pdstTopAirLoop = 0;
     902             :     int pdchTopAirLoopName = 0;
     903             :     int pdchTopAirSplitName = 0;
     904             :     int pdchTopAirBranchName = 0;
     905             :     int pdchTopAirSupplyBranchType = 0;
     906             :     int pdchTopAirCompType = 0;
     907             :     int pdchTopAirCompName = 0;
     908             :     int pdchTopAirSubCompType = 0;
     909             :     int pdchTopAirSubCompName = 0;
     910             :     int pdchTopAirSubSubCompType = 0;
     911             :     int pdchTopAirSubSubCompName = 0;
     912             :     int pdchTopAirDownSplitMixName = 0;
     913             :     int pdchTopAirMixName = 0;
     914             : 
     915             :     int pdstTopAirDemand = 0;
     916             :     int pdchTopAirDemandName = 0;
     917             :     int pdchTopAirSupplyBranchName = 0;
     918             :     int pdchTopAirSupplyDuctType = 0;
     919             :     int pdchTopAirSupplyPCompType = 0;
     920             :     int pdchTopAirSupplyPCompName = 0;
     921             :     int pdchTopAirTermUnitType = 0;
     922             :     int pdchTopAirTermUnitName = 0;
     923             :     int pdchTopAirZoneName = 0;
     924             :     int pdchTopAirReturnPCompType = 0;
     925             :     int pdchTopAirReturnPCompName = 0;
     926             : 
     927             :     int pdstTopZnEqp = 0;
     928             :     int pdchTopZnEqpName = 0;
     929             :     int pdchTopZnEqpCompType = 0;
     930             :     int pdchTopZnEqpCompName = 0;
     931             :     int pdchTopZnEqpSubCompType = 0;
     932             :     int pdchTopZnEqpSubCompName = 0;
     933             :     int pdchTopZnEqpSubSubCompType = 0;
     934             :     int pdchTopZnEqpSubSubCompName = 0;
     935             : 
     936             :     int pdstTopPlantLoop2 = 0;
     937             :     int pdchTopPlantLoopType2 = 0;
     938             :     int pdchTopPlantLoopName2 = 0;
     939             :     int pdchTopPlantSide2 = 0;
     940             :     int pdchTopPlantSplitName2 = 0;
     941             :     int pdchTopPlantBranchName2 = 0;
     942             :     int pdchTopPlantCompType2 = 0;
     943             :     int pdchTopPlantCompName2 = 0;
     944             :     int pdchTopPlantMixName2 = 0;
     945             : 
     946             :     // Outdoor Air Report
     947             :     int pdrOutsideAir = 0;
     948             :     int pdstOAavgOcc = 0;
     949             :     int pdchOaoAvgNumOcc1 = 0;
     950             :     int pdchOaoNomNumOcc1 = 0;
     951             :     int pdchOaoZoneVol1 = 0;
     952             :     int pdchOaoAvgMechVent = 0;
     953             :     int pdchOaoAvgInfil = 0;
     954             :     int pdchOaoAvgAFNInfil = 0;
     955             :     int pdchOaoAvgSimpVent = 0;
     956             :     int pdchOaoAvgTotVent = 0;
     957             :     int pdstOAminOcc = 0;
     958             :     int pdchOaoAvgNumOcc2 = 0;
     959             :     int pdchOaoNomNumOcc2 = 0;
     960             :     int pdchOaoZoneVol2 = 0;
     961             :     int pdchOaoMinMechVent = 0;
     962             :     int pdchOaoMinInfil = 0;
     963             :     int pdchOaoMinAFNInfil = 0;
     964             :     int pdchOaoMinSimpVent = 0;
     965             :     int pdchOaoMinTotVent = 0;
     966             : 
     967             :     // Outdoor Air Details Report
     968             :     int pdrOutsideAirDetails = 0;
     969             : 
     970             :     int pdstOAmechVentParByZone = 0;
     971             :     int pdchOaMvAirLpNm = 0;
     972             :     int pdchOaMvAvgNumOcc = 0;
     973             :     int pdchOaMvNomNumOcc = 0;
     974             :     int pdchOaMvZoneVol = 0;
     975             :     int pdchOaMvZoneArea = 0;
     976             :     int pdchOaMvDesZnOa = 0;
     977             :     int pdchOaMvMinDynTrgVent = 0;
     978             : 
     979             :     int pdstOAtotAirByZone = 0;
     980             :     int pdchOaTaBzMechVent = 0;
     981             :     int pdchOaTaBzNatVent = 0;
     982             :     int pdchOaTaBzTotVent = 0;
     983             :     int pdchOaTaBzInfil = 0;
     984             :     int pdchOaTaBzTotVentInfil = 0;
     985             :     int pdchOaTaBzDynTrgVent = 0;
     986             :     int pdchOaTaBzTmBelow = 0;
     987             :     int pdchOaTaBzTmAt = 0;
     988             :     int pdchOaTaBzTmAbove = 0;
     989             :     int pdchOaTaBzTmAboveUnocc = 0;
     990             : 
     991             :     int pdstOAavgOccByZone = 0;
     992             :     int pdchOaOccBzMechVent = 0;
     993             :     int pdchOaOccBzNatVent = 0;
     994             :     int pdchOaOccBzTotVent = 0;
     995             :     int pdchOaOccBzInfil = 0;
     996             :     int pdchOaOccBzTotVentInfil = 0;
     997             :     int pdchOaOccBzDynTrgVent = 0;
     998             :     int pdchOaOccBzTmBelow = 0;
     999             :     int pdchOaOccBzTmAt = 0;
    1000             :     int pdchOaOccBzTmAbove = 0;
    1001             : 
    1002             :     int pdstOAtotAirByLoop = 0;
    1003             :     int pdchOaTaAlMechVent = 0;
    1004             :     int pdchOaTaAlNatVent = 0;
    1005             :     int pdchOaTaAlTotVent = 0;
    1006             :     int pdchOaTaAlSumDynTrgVent = 0;
    1007             :     int pdchOaTaAlTmBelow = 0;
    1008             :     int pdchOaTaAlTmAt = 0;
    1009             :     int pdchOaTaAlTmAbove = 0;
    1010             :     int pdchOaTaAlTmAboveUnocc = 0;
    1011             : 
    1012             :     int pdstOAavgOccByLoop = 0;
    1013             :     int pdchOaOccAlMechVent = 0;
    1014             :     int pdchOaOccAlNatVent = 0;
    1015             :     int pdchOaOccAlTotVent = 0;
    1016             :     int pdchOaOccAlSumDynTrgVent = 0;
    1017             :     int pdchOaOccAlTmBelow = 0;
    1018             :     int pdchOaOccAlTmAt = 0;
    1019             :     int pdchOaOccAlTmAbove = 0;
    1020             : 
    1021             :     int pdstOAtimeFactorsDurOcc = 0;
    1022             :     int pdchOaTmFctNoLimit = 0;
    1023             :     int pdchOaTmFctHiHumid = 0;
    1024             :     int pdchOaTmFctNiteVent = 0;
    1025             :     int pdchOaTmFctEcono = 0;
    1026             :     int pdchOaTmFctDCV = 0;
    1027             :     int pdchOaTmFctExhaust = 0;
    1028             :     int pdchOaTmFctMixedLimit = 0;
    1029             :     int pdchOaTmFctLimit = 0;
    1030             :     int pdchOaTmFctDemand = 0;
    1031             :     int pdchOaTmFctEMS = 0;
    1032             : 
    1033             :     int pdstOAavgFactorsDurOcc = 0;
    1034             :     int pdchOaAvFctNoLimit = 0;
    1035             :     int pdchOaAvFctHiHumid = 0;
    1036             :     int pdchOaAvFctNiteVent = 0;
    1037             :     int pdchOaAvFctEcono = 0;
    1038             :     int pdchOaAvFctDCV = 0;
    1039             :     int pdchOaAvFctExhaust = 0;
    1040             :     int pdchOaAvFctMixedLimit = 0;
    1041             :     int pdchOaAvFctLimit = 0;
    1042             :     int pdchOaAvFctDemand = 0;
    1043             :     int pdchOaAvFctEMS = 0;
    1044             : 
    1045             :     // Object Count Report
    1046             :     int pdrObjCnt = 0;
    1047             :     int pdstSurfCnt = 0;
    1048             :     int pdchSurfCntTot = 0;
    1049             :     int pdchSurfCntExt = 0;
    1050             :     int pdstHVACcnt = 0;
    1051             :     int pdchHVACcntVal = 0;
    1052             :     int pdstFieldCnt = 0;
    1053             :     int pdchFieldCntVal = 0;
    1054             : 
    1055             :     // Energy Meters Report
    1056             :     int pdrEnergyMeters = 0;
    1057             : 
    1058             :     int pdstEMelecvalues = 0;
    1059             :     int pdchEMelecannual = 0;
    1060             :     int pdchEMelecminvalue = 0;
    1061             :     int pdchEMelecminvaluetime = 0;
    1062             :     int pdchEMelecmaxvalue = 0;
    1063             :     int pdchEMelecmaxvaluetime = 0;
    1064             : 
    1065             :     int pdstEMgasvalues = 0;
    1066             :     int pdchEMgasannual = 0;
    1067             :     int pdchEMgasminvalue = 0;
    1068             :     int pdchEMgasminvaluetime = 0;
    1069             :     int pdchEMgasmaxvalue = 0;
    1070             :     int pdchEMgasmaxvaluetime = 0;
    1071             : 
    1072             :     int pdstEMcoolvalues = 0;
    1073             :     int pdchEMcoolannual = 0;
    1074             :     int pdchEMcoolminvalue = 0;
    1075             :     int pdchEMcoolminvaluetime = 0;
    1076             :     int pdchEMcoolmaxvalue = 0;
    1077             :     int pdchEMcoolmaxvaluetime = 0;
    1078             : 
    1079             :     int pdstEMwatervalues = 0;
    1080             :     int pdchEMwaterannual = 0;
    1081             :     int pdchEMwaterminvalue = 0;
    1082             :     int pdchEMwaterminvaluetime = 0;
    1083             :     int pdchEMwatermaxvalue = 0;
    1084             :     int pdchEMwatermaxvaluetime = 0;
    1085             : 
    1086             :     int pdstEMotherJvalues = 0;
    1087             :     int pdchEMotherJannual = 0;
    1088             :     int pdchEMotherJminvalue = 0;
    1089             :     int pdchEMotherJminvaluetime = 0;
    1090             :     int pdchEMotherJmaxvalue = 0;
    1091             :     int pdchEMotherJmaxvaluetime = 0;
    1092             : 
    1093             :     int pdstEMotherKGvalues = 0;
    1094             :     int pdchEMotherKGannual = 0;
    1095             :     int pdchEMotherKGminvalue = 0;
    1096             :     int pdchEMotherKGminvaluetime = 0;
    1097             :     int pdchEMotherKGmaxvalue = 0;
    1098             :     int pdchEMotherKGmaxvaluetime = 0;
    1099             : 
    1100             :     int pdstEMotherM3values = 0;
    1101             :     int pdchEMotherM3annual = 0;
    1102             :     int pdchEMotherM3minvalue = 0;
    1103             :     int pdchEMotherM3minvaluetime = 0;
    1104             :     int pdchEMotherM3maxvalue = 0;
    1105             :     int pdchEMotherM3maxvaluetime = 0;
    1106             : 
    1107             :     int pdstEMotherLvalues = 0;
    1108             :     int pdchEMotherLannual = 0;
    1109             :     int pdchEMotherLminvalue = 0;
    1110             :     int pdchEMotherLminvaluetime = 0;
    1111             :     int pdchEMotherLmaxvalue = 0;
    1112             :     int pdchEMotherLmaxvaluetime = 0;
    1113             : 
    1114             :     // Sensible Heat Gas Component Report
    1115             :     int pdrSensibleGain = 0;
    1116             :     // annual
    1117             :     int pdstSHGSannual = 0;
    1118             :     int pdchSHGSAnZoneEqHt = 0;
    1119             :     int pdchSHGSAnZoneEqCl = 0;
    1120             :     int pdchSHGSAnHvacATUHt = 0;
    1121             :     int pdchSHGSAnHvacATUCl = 0;
    1122             :     int pdchSHGSAnSurfHt = 0;
    1123             :     int pdchSHGSAnSurfCl = 0;
    1124             :     int pdchSHGSAnPeoplAdd = 0;
    1125             :     int pdchSHGSAnLiteAdd = 0;
    1126             :     int pdchSHGSAnEquipAdd = 0;
    1127             :     int pdchSHGSAnWindAdd = 0;
    1128             :     int pdchSHGSAnIzaAdd = 0;
    1129             :     int pdchSHGSAnInfilAdd = 0;
    1130             :     int pdchSHGSAnOtherAdd = 0;
    1131             :     int pdchSHGSAnEquipRem = 0;
    1132             :     int pdchSHGSAnWindRem = 0;
    1133             :     int pdchSHGSAnIzaRem = 0;
    1134             :     int pdchSHGSAnInfilRem = 0;
    1135             :     int pdchSHGSAnOtherRem = 0;
    1136             :     // peak cooling
    1137             :     int pdstSHGSpkCl = 0;
    1138             :     int pdchSHGSClTimePeak = 0;
    1139             :     int pdchSHGSClHvacHt = 0;
    1140             :     int pdchSHGSClHvacCl = 0;
    1141             :     int pdchSHGSClHvacATUHt = 0;
    1142             :     int pdchSHGSClHvacATUCl = 0;
    1143             :     int pdchSHGSClSurfHt = 0;
    1144             :     int pdchSHGSClSurfCl = 0;
    1145             :     int pdchSHGSClPeoplAdd = 0;
    1146             :     int pdchSHGSClLiteAdd = 0;
    1147             :     int pdchSHGSClEquipAdd = 0;
    1148             :     int pdchSHGSClWindAdd = 0;
    1149             :     int pdchSHGSClIzaAdd = 0;
    1150             :     int pdchSHGSClInfilAdd = 0;
    1151             :     int pdchSHGSClOtherAdd = 0;
    1152             :     int pdchSHGSClEquipRem = 0;
    1153             :     int pdchSHGSClWindRem = 0;
    1154             :     int pdchSHGSClIzaRem = 0;
    1155             :     int pdchSHGSClInfilRem = 0;
    1156             :     int pdchSHGSClOtherRem = 0;
    1157             :     // peak heating
    1158             :     int pdstSHGSpkHt = 0;
    1159             :     int pdchSHGSHtTimePeak = 0;
    1160             :     int pdchSHGSHtHvacHt = 0;
    1161             :     int pdchSHGSHtHvacCl = 0;
    1162             :     int pdchSHGSHtHvacATUHt = 0;
    1163             :     int pdchSHGSHtHvacATUCl = 0;
    1164             :     int pdchSHGSHtSurfHt = 0;
    1165             :     int pdchSHGSHtSurfCl = 0;
    1166             :     int pdchSHGSHtPeoplAdd = 0;
    1167             :     int pdchSHGSHtLiteAdd = 0;
    1168             :     int pdchSHGSHtEquipAdd = 0;
    1169             :     int pdchSHGSHtWindAdd = 0;
    1170             :     int pdchSHGSHtIzaAdd = 0;
    1171             :     int pdchSHGSHtInfilAdd = 0;
    1172             :     int pdchSHGSHtOtherAdd = 0;
    1173             :     int pdchSHGSHtEquipRem = 0;
    1174             :     int pdchSHGSHtWindRem = 0;
    1175             :     int pdchSHGSHtIzaRem = 0;
    1176             :     int pdchSHGSHtInfilRem = 0;
    1177             :     int pdchSHGSHtOtherRem = 0;
    1178             :     // Standard62Report
    1179             :     int pdrStd62 = 0;
    1180             :     int pdstS62sysVentReqCool = 0;
    1181             :     int pdchS62svrClSumVpz = 0;
    1182             :     int pdchS62svrClPs = 0;
    1183             :     int pdchS62svrClSumPz = 0;
    1184             :     int pdchS62svrClD = 0;
    1185             :     int pdchS62svrClDorg = 0;
    1186             :     int pdchS62svrClVou = 0;
    1187             :     int pdchS62svrClVps = 0;
    1188             :     int pdchS62svrClXs = 0;
    1189             :     int pdchS62svrClEv = 0;
    1190             :     int pdchS62svrClEvMthd = 0;
    1191             :     int pdchS62svrClVot = 0;
    1192             :     int pdchS62svrClPercOA = 0;
    1193             :     int pdchS62svrClEnvironmentOfPs = 0;
    1194             :     int pdchS62svrClTimeOfPs = 0;
    1195             : 
    1196             :     int pdstS62sysVentReqHeat = 0;
    1197             :     int pdchS62svrHtSumVpz = 0;
    1198             :     int pdchS62svrHtPs = 0;
    1199             :     int pdchS62svrHtSumPz = 0;
    1200             :     int pdchS62svrHtD = 0;
    1201             :     int pdchS62svrHtDorg = 0;
    1202             :     int pdchS62svrHtVou = 0;
    1203             :     int pdchS62svrHtVps = 0;
    1204             :     int pdchS62svrHtXs = 0;
    1205             :     int pdchS62svrHtEv = 0;
    1206             :     int pdchS62svrHtEvMthd = 0;
    1207             :     int pdchS62svrHtVot = 0;
    1208             :     int pdchS62svrHtPercOA = 0;
    1209             :     int pdchS62svrHtEnvironmentOfPs = 0;
    1210             :     int pdchS62svrHtTimeOfPs = 0;
    1211             : 
    1212             :     int pdstS62znVentPar = 0;
    1213             :     int pdchS62zvpAlN = 0;
    1214             :     int pdchS62zvpRp = 0;
    1215             :     int pdchS62zvpPz = 0;
    1216             :     int pdchS62zvpRa = 0;
    1217             :     int pdchS62zvpAz = 0;
    1218             :     int pdchS62zvpVbz = 0;
    1219             :     int pdchS62zvpClEz = 0;
    1220             :     int pdchS62zvpClVoz = 0;
    1221             :     int pdchS62zvpHtEz = 0;
    1222             :     int pdchS62zvpHtVoz = 0;
    1223             : 
    1224             :     int pdstS62sysVentPar = 0;
    1225             :     int pdchS62svpRp = 0;
    1226             :     int pdchS62svpPz = 0;
    1227             :     int pdchS62svpRa = 0;
    1228             :     int pdchS62svpAz = 0;
    1229             :     int pdchS62svpVbz = 0;
    1230             :     int pdchS62svpClVoz = 0;
    1231             :     int pdchS62svpHtVoz = 0;
    1232             : 
    1233             :     int pdstS62znCoolDes = 0;
    1234             :     int pdchS62zcdAlN = 0;
    1235             :     int pdchS62zcdBox = 0;
    1236             :     int pdchS62zcdVpz = 0;
    1237             :     int pdchS62zcdVps = 0;
    1238             :     int pdchS62zcdVsec = 0;
    1239             :     int pdchS62zcdVdz = 0;
    1240             :     int pdchS62zcdVpzmin = 0;
    1241             :     int pdchS62zcdVpzminSPSize = 0;
    1242             :     int pdchS62zcdVozclg = 0;
    1243             :     int pdchS62zcdZpz = 0;
    1244             :     int pdchS62zcdEp = 0;
    1245             :     int pdchS62zcdEr = 0;
    1246             :     int pdchS62zcdFa = 0;
    1247             :     int pdchS62zcdFb = 0;
    1248             :     int pdchS62zcdFc = 0;
    1249             :     int pdchS62zcdEvz = 0;
    1250             : 
    1251             :     int pdstS62sysCoolDes = 0;
    1252             :     int pdchS62scdVpz = 0;
    1253             :     int pdchS62scdVps = 0;
    1254             :     int pdchS62scdVsec = 0;
    1255             :     int pdchS62scdVdz = 0;
    1256             :     int pdchS62scdVpzmin = 0;
    1257             :     int pdchS62scdVozclg = 0;
    1258             :     int pdchS62scdEvz = 0;
    1259             : 
    1260             :     int pdstS62znHeatDes = 0;
    1261             :     int pdchS62zhdAlN = 0;
    1262             :     int pdchS62zhdBox = 0;
    1263             :     int pdchS62zhdVpz = 0;
    1264             :     int pdchS62zhdVps = 0;
    1265             :     int pdchS62zhdVsec = 0;
    1266             :     int pdchS62zhdVdz = 0;
    1267             :     int pdchS62zhdVpzmin = 0;
    1268             :     int pdchS62zhdVpzminSPSize = 0;
    1269             :     int pdchS62zhdVozhtg = 0;
    1270             :     int pdchS62zhdZpz = 0;
    1271             :     int pdchS62zhdEp = 0;
    1272             :     int pdchS62zhdEr = 0;
    1273             :     int pdchS62zhdFa = 0;
    1274             :     int pdchS62zhdFb = 0;
    1275             :     int pdchS62zhdFc = 0;
    1276             :     int pdchS62zhdEvz = 0;
    1277             : 
    1278             :     int pdstS62sysHeatDes = 0;
    1279             :     int pdchS62shdVpz = 0;
    1280             :     int pdchS62shdVps = 0;
    1281             :     int pdchS62shdVsec = 0;
    1282             :     int pdchS62shdVdz = 0;
    1283             :     int pdchS62shdVpzmin = 0;
    1284             :     int pdchS62shdVozhtg = 0;
    1285             :     int pdchS62shdEvz = 0;
    1286             : 
    1287             :     //  LEED Summary
    1288             :     int pdrLeed = 0;
    1289             :     int pdstLeedGenInfo = 0;
    1290             :     int pdchLeedGenData = 0;
    1291             : 
    1292             :     int pdstLeedSpaceUsageType = 0;
    1293             :     int pdchLeedSutName = 0;
    1294             :     int pdchLeedSutSpArea = 0;
    1295             :     int pdchLeedSutOcArea = 0;
    1296             :     int pdchLeedSutUnArea = 0;
    1297             :     int pdchLeedSutHrsWeek = 0;
    1298             : 
    1299             :     int pdstLeedAdvsMsg = 0;
    1300             :     int pdchLeedAmData = 0;
    1301             : 
    1302             :     int pdstLeedEneTypSum = 0;
    1303             :     int pdchLeedEtsType = 0;
    1304             :     int pdchLeedEtsRtNm = 0;
    1305             :     int pdchLeedEtsVirt = 0;
    1306             :     int pdchLeedEtsEneUnt = 0;
    1307             :     int pdchLeedEtsDemUnt = 0;
    1308             : 
    1309             :     int pdstLeedPerf = 0;
    1310             :     int pdchLeedPerfRot = 0;
    1311             :     int pdchLeedPerfElEneUse = 0;
    1312             :     int pdchLeedPerfElDem = 0;
    1313             :     int pdchLeedPerfGasEneUse = 0;
    1314             :     int pdchLeedPerfGasDem = 0;
    1315             :     int pdchLeedPerfGasolineEneUse = 0;
    1316             :     int pdchLeedPerfGasolineDem = 0;
    1317             :     int pdchLeedPerfDieselEneUse = 0;
    1318             :     int pdchLeedPerfDieselDem = 0;
    1319             :     int pdchLeedPerfCoalEneUse = 0;
    1320             :     int pdchLeedPerfCoalDem = 0;
    1321             :     int pdchLeedPerfFuelOil1EneUse = 0;
    1322             :     int pdchLeedPerfFuelOil1Dem = 0;
    1323             :     int pdchLeedPerfFuelOil2EneUse = 0;
    1324             :     int pdchLeedPerfFuelOil2Dem = 0;
    1325             :     int pdchLeedPerfPropaneEneUse = 0;
    1326             :     int pdchLeedPerfPropaneDem = 0;
    1327             :     int pdchLeedPerfOtherFuel1EneUse = 0;
    1328             :     int pdchLeedPerfOtherFuel1Dem = 0;
    1329             :     int pdchLeedPerfOtherFuel2EneUse = 0;
    1330             :     int pdchLeedPerfOtherFuel2Dem = 0;
    1331             :     int pdchLeedPerfDisClEneUse = 0;
    1332             :     int pdchLeedPerfDisClDem = 0;
    1333             :     int pdchLeedPerfDisHtWtrEneUse = 0;
    1334             :     int pdchLeedPerfDisHtWtrDem = 0;
    1335             :     int pdchLeedPerfDisHtStEneUse = 0;
    1336             :     int pdchLeedPerfDisHtStDem = 0;
    1337             : 
    1338             :     int pdstLeedEneUseSum = 0;
    1339             :     int pdchLeedEusUnt = 0;
    1340             :     int pdchLeedEusProc = 0;
    1341             :     int pdchLeedEusTotal = 0;
    1342             : 
    1343             :     int pdstLeedEneCostSum = 0;
    1344             :     int pdchLeedEcUnt = 0;
    1345             :     int pdchLeedEcsProc = 0;
    1346             :     int pdchLeedEcsTotal = 0;
    1347             :     Real64 LEEDelecCostTotal = 0;
    1348             :     Real64 LEEDgasCostTotal = 0;
    1349             :     Real64 LEEDothrCostTotal = 0;
    1350             : 
    1351             :     int pdstLeedRenewSum = 0;
    1352             :     int pdchLeedRenRatCap = 0;
    1353             :     int pdchLeedRenAnGen = 0;
    1354             : 
    1355             :     int pdstLeedEneUseIntEl = 0;
    1356             :     int pdchLeedEuiElec = 0;
    1357             :     int pdstLeedEneUseIntNatG = 0;
    1358             :     int pdchLeedEuiNatG = 0;
    1359             :     int pdstLeedEneUseIntOthr = 0;
    1360             :     int pdchLeedEuiOthr = 0;
    1361             : 
    1362             :     int pdstLeedEneUsePerc = 0;
    1363             :     int pdchLeedEupPerc = 0;
    1364             : 
    1365             :     int pdstLeedEqFlLdHrs = 0;
    1366             :     int pdchLeedEflhEflh = 0;
    1367             :     int pdchLeedEflhNonZerHrs = 0;
    1368             : 
    1369             :     int pdstLeedSchedSetPts = 0;
    1370             :     int pdChLeedSchStPtFirstObjUsed = 0;
    1371             :     int pdChLeedSchStPtMonthUsed = 0;
    1372             :     int pdchLeedSchStPt11amWednesday = 0;
    1373             :     int pdchLeedSchStPt11amWedCnt = 0;
    1374             :     int pdchLeedSchStPt11pmWednesday = 0;
    1375             :     int pdchLeedSchStPt11pmWedCnt = 0;
    1376             : 
    1377             :     int pdrThermalResilience = 0;
    1378             :     int pdstHIHours = 0;
    1379             :     int pdchHIHourSafe = 0;
    1380             :     int pdchHIHourCaution = 0;
    1381             :     int pdchHIHourExtremeCaution = 0;
    1382             :     int pdchHIHourDanger = 0;
    1383             :     int pdchHIHourExtremeDanger = 0;
    1384             :     int pdstHIOccuHours = 0;
    1385             :     int pdchHIOccuHourSafe = 0;
    1386             :     int pdchHIOccuHourCaution = 0;
    1387             :     int pdchHIOccuHourExtremeCaution = 0;
    1388             :     int pdchHIOccuHourDanger = 0;
    1389             :     int pdchHIOccuHourExtremeDanger = 0;
    1390             :     int pdstHIOccupiedHours = 0;
    1391             :     int pdchHIOccupiedHourSafe = 0;
    1392             :     int pdchHIOccupiedHourCaution = 0;
    1393             :     int pdchHIOccupiedHourExtremeCaution = 0;
    1394             :     int pdchHIOccupiedHourDanger = 0;
    1395             :     int pdchHIOccupiedHourExtremeDanger = 0;
    1396             :     int pdstHumidexHours = 0;
    1397             :     int pdchHumidexHourLittle = 0;
    1398             :     int pdchHumidexHourSome = 0;
    1399             :     int pdchHumidexHourGreat = 0;
    1400             :     int pdchHumidexHourDanger = 0;
    1401             :     int pdchHumidexHourStroke = 0;
    1402             :     int pdstHumidexOccuHours = 0;
    1403             :     int pdchHumidexOccuHourLittle = 0;
    1404             :     int pdchHumidexOccuHourSome = 0;
    1405             :     int pdchHumidexOccuHourGreat = 0;
    1406             :     int pdchHumidexOccuHourDanger = 0;
    1407             :     int pdchHumidexOccuHourStroke = 0;
    1408             :     int pdstHumidexOccupiedHours = 0;
    1409             :     int pdchHumidexOccupiedHourLittle = 0;
    1410             :     int pdchHumidexOccupiedHourSome = 0;
    1411             :     int pdchHumidexOccupiedHourGreat = 0;
    1412             :     int pdchHumidexOccupiedHourDanger = 0;
    1413             :     int pdchHumidexOccupiedHourStroke = 0;
    1414             : 
    1415             :     int pdstHeatingSETHours = 0;
    1416             :     int pdchHeatingSETHours = 0;
    1417             :     int pdchHeatingSETOccuHours = 0;
    1418             :     int pdchHeatingSETOccupiedHours = 0;
    1419             :     int pdchHeatingSETUnmetDuration = 0;
    1420             :     int pdchHeatingSETUnmetTime = 0;
    1421             :     int pdstCoolingSETHours = 0;
    1422             :     int pdchCoolingSETHours = 0;
    1423             :     int pdchCoolingSETOccuHours = 0;
    1424             :     int pdchCoolingSETOccupiedHours = 0;
    1425             :     int pdchCoolingSETUnmetDuration = 0;
    1426             :     int pdchCoolingSETUnmetTime = 0;
    1427             : 
    1428             :     int pdstHourOfSafetyColdEvent = 0;
    1429             :     int pdchColdHourOfSafety = 0;
    1430             :     int pdchColdSafetyEndTime = 0;
    1431             :     int pdchColdSafeTempExceedHour = 0;
    1432             :     int pdchColdSafeTempExceedOccHour = 0;
    1433             :     int pdchColdSafeTempExceedOccupiedHour = 0;
    1434             :     int pdstHourOfSafetyHeatEvent = 0;
    1435             :     int pdchHeatHourOfSafety = 0;
    1436             :     int pdchHeatSafetyEndTime = 0;
    1437             :     int pdchHeatSafeTempExceedHour = 0;
    1438             :     int pdchHeatSafeTempExceedOccHour = 0;
    1439             :     int pdchHeatSafeTempExceedOccupiedHour = 0;
    1440             : 
    1441             :     int pdstUnmetDegreeHour = 0;
    1442             :     int pdchCoolingUnmetDegreeHour = 0;
    1443             :     int pdchCoolingUnmetDegreeOccHour = 0;
    1444             :     int pdchCoolingUnmetDegreeOccupiedHour = 0;
    1445             :     int pdchHeatingUnmetDegreeHour = 0;
    1446             :     int pdchHeatingUnmetDegreeOccHour = 0;
    1447             :     int pdchHeatingUnmetDegreeOccupiedHour = 0;
    1448             : 
    1449             :     int pdstDiscomfortWtExceedOccuHour = 0;
    1450             :     int pdstDiscomfortWtExceedOccupiedHour = 0;
    1451             :     int pdchVeryColdExceedOccuHour = 0;
    1452             :     int pdchCoolExceedOccuHour = 0;
    1453             :     int pdchWarmExceedOccuHour = 0;
    1454             :     int pdchVeryHotExceedOccuHour = 0;
    1455             :     int pdchVeryColdExceedOccupiedHour = 0;
    1456             :     int pdchCoolExceedOccupiedHour = 0;
    1457             :     int pdchWarmExceedOccupiedHour = 0;
    1458             :     int pdchVeryHotExceedOccupiedHour = 0;
    1459             : 
    1460             :     int pdrCO2Resilience = 0;
    1461             :     int pdstCO2Hours = 0;
    1462             :     int pdchCO2HourSafe = 0;
    1463             :     int pdchCO2HourCaution = 0;
    1464             :     int pdchCO2HourHazard = 0;
    1465             :     int pdstCO2OccuHours = 0;
    1466             :     int pdchCO2OccuHourSafe = 0;
    1467             :     int pdchCO2OccuHourCaution = 0;
    1468             :     int pdchCO2OccuHourHazard = 0;
    1469             :     int pdstCO2OccupiedHours = 0;
    1470             :     int pdchCO2OccupiedHourSafe = 0;
    1471             :     int pdchCO2OccupiedHourCaution = 0;
    1472             :     int pdchCO2OccupiedHourHazard = 0;
    1473             : 
    1474             :     int pdrVisualResilience = 0;
    1475             :     int pdstIllumHours = 0;
    1476             :     int pdchIllumHourDark = 0;
    1477             :     int pdchIllumHourDim = 0;
    1478             :     int pdchIllumHourAdequate = 0;
    1479             :     int pdchIllumHourBright = 0;
    1480             :     int pdstIllumOccuHours = 0;
    1481             :     int pdchIllumOccuHourDark = 0;
    1482             :     int pdchIllumOccuHourDim = 0;
    1483             :     int pdchIllumOccuHourAdequate = 0;
    1484             :     int pdchIllumOccuHourBright = 0;
    1485             :     int pdstIllumOccupiedHours = 0;
    1486             :     int pdchIllumOccupiedHourDark = 0;
    1487             :     int pdchIllumOccupiedHourDim = 0;
    1488             :     int pdchIllumOccupiedHourAdequate = 0;
    1489             :     int pdchIllumOccupiedHourBright = 0;
    1490             : 
    1491             :     int sizeReportName = 0;
    1492             :     int numReportName = 0;
    1493             : 
    1494             :     int sizeSubTable = 0;
    1495             :     int numSubTable = 0;
    1496             : 
    1497             :     int sizeColumnTag = 0;
    1498             :     int numColumnTag = 0;
    1499             : 
    1500             :     int sizeTableEntry = 0;
    1501             :     int numTableEntry = 0;
    1502             : 
    1503             :     int sizeCompSizeTableEntry = 0;
    1504             :     int numCompSizeTableEntry = 0;
    1505             : 
    1506             :     int sizeShadowRelate = 0;
    1507             :     int numShadowRelate = 0;
    1508             : 
    1509             :     // Totals for ABUPS report
    1510             :     Real64 TotalNotMetHeatingOccupiedForABUPS = 0.0;
    1511             :     Real64 TotalNotMetCoolingOccupiedForABUPS = 0.0;
    1512             :     Real64 TotalNotMetOccupiedForABUPS = 0.0;
    1513             :     Real64 TotalTimeNotSimpleASH55EitherForABUPS = 0.0;
    1514             : 
    1515             :     // Totals for OA details report
    1516             :     Real64 TotalVozMax = 0.0;                     // total Voz (max of heating and cooling)
    1517             :     Real64 TotalAnyZoneBelowVozDynForOA = 0.0;    // total time any zone below target Voz-Dyn
    1518             :     Real64 TotalAllZonesAtVozDynForOA = 0.0;      // total time all zones at target Voz-Dyn
    1519             :     Real64 TotalAnyZoneAboveVozDynForOA = 0.0;    // total time any zone above target Voz-Dyn
    1520             :     Real64 TotalAnyZoneBelowVozDynOccForOA = 0.0; // total time any zone below target Voz-Dyn
    1521             :     Real64 TotalAllZonesAtVozDynOccForOA = 0.0;   // total time all zones at target Voz-Dyn
    1522             :     Real64 TotalAnyZoneAboveVozDynOccForOA = 0.0; // total time any zone above target Voz-Dyn
    1523             :     Real64 TotalAnyZoneVentUnoccForOA = 0.0;      // total time any zone has ventilation when unoccupied
    1524             : 
    1525             :     Real64 TotalAnyAirLoopBelowVozDynForOA = 0.0;    // total time any air loop below target Voz-Dyn
    1526             :     Real64 TotalAllAirLoopsAtVozDynForOA = 0.0;      // total time all air loops at target Voz-Dyn
    1527             :     Real64 TotalAnyAirLoopAboveVozDynForOA = 0.0;    // total time any air loop above target Voz-Dyn
    1528             :     Real64 TotalAnyAirLoopBelowVozDynOccForOA = 0.0; // total time any air loop below target Voz-Dyn
    1529             :     Real64 TotalAllAirLoopsAtVozDynOccForOA = 0.0;   // total time all air loops at target Voz-Dyn
    1530             :     Real64 TotalAnyAirLoopAboveVozDynOccForOA = 0.0; // total time any air loop above target Voz-Dyn
    1531             :     Real64 TotalAnyAirLoopVentUnoccForOA = 0.0;      // total time any air loop has ventilation when unoccupied
    1532             : 
    1533             :     Array1D<OutputReportPredefined::reportNameType> reportName;
    1534             :     Array1D<OutputReportPredefined::SubTableType> subTable;
    1535             :     Array1D<OutputReportPredefined::ColumnTagType> columnTag;
    1536             :     Array1D<OutputReportPredefined::TableEntryType> tableEntry;
    1537             :     Array1D<OutputReportPredefined::CompSizeTableEntryType> CompSizeTableEntry;
    1538             :     Array1D<OutputReportPredefined::ShadowRelateType> ShadowRelate;
    1539             : 
    1540         796 :     void init_state([[maybe_unused]] EnergyPlusData &state) override
    1541             :     {
    1542         796 :     }
    1543             : 
    1544           0 :     void clear_state() override
    1545             :     {
    1546           0 :         new (this) OutputReportPredefinedData();
    1547           0 :     }
    1548             : };
    1549             : 
    1550             : } // namespace EnergyPlus
    1551             : 
    1552             : #endif

Generated by: LCOV version 1.14