LCOV - code coverage report
Current view: top level - EnergyPlus - SystemReports.hh (source / functions) Hit Total Coverage
Test: lcov.output.filtered Lines: 8 51 15.7 %
Date: 2023-01-17 19:17:23 Functions: 11 13 84.6 %

          Line data    Source code
       1             : // EnergyPlus, Copyright (c) 1996-2023, 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 SystemReports_hh_INCLUDED
      49             : #define SystemReports_hh_INCLUDED
      50             : 
      51             : // ObjexxFCL Headers
      52             : #include <ObjexxFCL/Array1D.hh>
      53             : 
      54             : // EnergyPlus Headers
      55             : #include <EnergyPlus/Data/BaseData.hh>
      56             : #include <EnergyPlus/DataGlobalConstants.hh>
      57             : #include <EnergyPlus/EPVector.hh>
      58             : #include <EnergyPlus/EnergyPlus.hh>
      59             : 
      60             : namespace EnergyPlus {
      61             : 
      62             : // Forward declarations
      63             : struct EnergyPlusData;
      64             : 
      65             : namespace SystemReports {
      66             : 
      67             :     enum class EndUseType
      68             :     {
      69             :         Invalid = -1,
      70             :         NoHeatNoCool,
      71             :         CoolingOnly,
      72             :         HeatingOnly,
      73             :         HeatAndCool,
      74             :         Num
      75             :     };
      76             : 
      77             :     struct Energy
      78             :     {
      79             :         // Members
      80             :         Real64 TotDemand;
      81             :         Real64 Elec;
      82             :         Real64 Gas;
      83             :         Real64 Purch;
      84             :         Real64 Other;
      85             : 
      86             :         // Default Constructor
      87             :         Energy() : TotDemand(0.0), Elec(0.0), Gas(0.0), Purch(0.0), Other(0.0)
      88             :         {
      89             :         }
      90             :     };
      91             : 
      92             :     struct CoilType
      93             :     {
      94             :         // Members
      95             :         Energy DecreasedCC; // LoadMetByVent
      96             :         Energy DecreasedHC; // LoadMetByVent
      97             :         Energy IncreasedCC; // LoadIncreasedVent
      98             :         Energy IncreasedHC; // LoadAddedByVent
      99             :         Energy ReducedByCC; // LoadAddedByVent
     100             :         Energy ReducedByHC; // LoadAddedByVent
     101             : 
     102             :         // Default Constructor
     103             :         CoilType() = default;
     104             :     };
     105             : 
     106             :     struct SummarizeLoads
     107             :     {
     108             :         // Members
     109             :         CoilType Load;             // LoadMetByVent
     110             :         CoilType NoLoad;           // LoadMetByVentNoLoad
     111             :         CoilType ExcessLoad;       // LoadAddedByVentOvercool
     112             :         CoilType PotentialSavings; // LoadAddedByVentCoolLost
     113             :         CoilType PotentialCost;    // LoadAddedByVentHeatLost
     114             : 
     115             :         // Default Constructor
     116             :         SummarizeLoads() = default;
     117             :     };
     118             : 
     119      154971 :     struct CompTypeError
     120             :     {
     121             :         // Members
     122             :         std::string CompType;
     123             :         int CompErrIndex;
     124             : 
     125             :         // Default Constructor
     126         771 :         CompTypeError() : CompErrIndex(0)
     127             :         {
     128         771 :         }
     129             :     };
     130             : 
     131        4802 :     struct ZoneVentReportVariables
     132             :     {
     133             :         Real64 CoolingLoadMetByVent = 0.0;
     134             :         Real64 CoolingLoadAddedByVent = 0.0;
     135             :         Real64 OvercoolingByVent = 0.0;
     136             :         Real64 HeatingLoadMetByVent = 0.0;
     137             :         Real64 HeatingLoadAddedByVent = 0.0;
     138             :         Real64 OverheatingByVent = 0.0;
     139             :         Real64 NoLoadHeatingByVent = 0.0;
     140             :         Real64 NoLoadCoolingByVent = 0.0;
     141             : 
     142             :         Real64 OAMassFlow = 0.0;               // zone mech vent mass flow rate {kg/s}
     143             :         Real64 OAMass = 0.0;                   // zone mech vent total mass for time {kg}
     144             :         Real64 OAVolFlowStdRho = 0.0;          // zone mech vent volume flow rate at standard density {m3/s}
     145             :         Real64 OAVolStdRho = 0.0;              // zone mech vent total volume OA at standard density {m3}
     146             :         Real64 OAVolFlowCrntRho = 0.0;         // zone mech vent volume flow rate at current density {m3/s}
     147             :         Real64 OAVolCrntRho = 0.0;             // zone mech vent total volume OA at current density {m3}
     148             :         Real64 MechACH = 0.0;                  // zone mech vent air changes per hour {ACH}
     149             :         Real64 TargetVentilationFlowVoz = 0.0; // zone target ventilation ventilation flow based on 62.1 Voz-dyn {m3/s}
     150             :         Real64 TimeBelowVozDyn = 0.0;          // time [hrs] that mechanical+natural ventilation is < VozTarget - 1%
     151             :         Real64 TimeAtVozDyn = 0.0;             // time [hrs] that mechanical+natural ventilation is = VozTarget within 1% and > zero
     152             :         Real64 TimeAboveVozDyn = 0.0;          // time [hrs] that mechanical+natural ventilation is > VozTarget + 1%
     153             :         Real64 TimeVentUnocc = 0.0;            // time [hrs] that mechanical+natural ventilation is > zero during unoccupied
     154             :     };
     155             : 
     156        1172 :     struct SysVentReportVariables
     157             :     {
     158             :         Real64 MechVentFlow = 0.0;             // air loop mechanical vent total volume OA at standard density {m3/s}
     159             :         Real64 NatVentFlow = 0.0;              // air loop natural vent total volume OA at standard density {m3/s}
     160             :         Real64 TargetVentilationFlowVoz = 0.0; // air loop target ventilation ventilation flow based on 62.1 Voz-dyn {m3/s}
     161             :         Real64 TimeBelowVozDyn = 0.0;          // time [hrs] that mechanical+natural ventilation is < VozTarget - 1%
     162             :         Real64 TimeAtVozDyn = 0.0;             // time [hrs] that mechanical+natural ventilation is = VozTarget within 1% and > zero
     163             :         Real64 TimeAboveVozDyn = 0.0;          // time [hrs] that mechanical+natural ventilation is > VozTarget + 1%
     164             :         Real64 TimeVentUnocc = 0.0;            // time [hrs] that mechanical+natural ventilation is > zero during unoccupied
     165             :         bool AnyZoneOccupied = false;          // true if any zone on system is occupied
     166             :     };
     167        1172 :     struct SysLoadReportVariables
     168             :     {
     169             :         // SYSTEM LOADS REPORT
     170             :         Real64 TotHTNG = 0.0;
     171             :         Real64 TotCLNG = 0.0;
     172             : 
     173             :         // SYSTEM ENERGY USE REPORT
     174             :         Real64 TotH2OHOT = 0.0;
     175             :         Real64 TotH2OCOLD = 0.0;
     176             :         Real64 TotElec = 0.0;
     177             :         Real64 TotNaturalGas = 0.0;
     178             :         Real64 TotPropane = 0.0;
     179             :         Real64 TotSteam = 0.0;
     180             : 
     181             :         // SYSTEM COMPONENT LOADS REPORT
     182             :         Real64 HumidHTNG = 0.0;
     183             :         Real64 HumidElec = 0.0;
     184             :         Real64 HumidNaturalGas = 0.0;
     185             :         Real64 HumidPropane = 0.0;
     186             :         Real64 EvapCLNG = 0.0;
     187             :         Real64 EvapElec = 0.0;
     188             :         Real64 HeatExHTNG = 0.0;
     189             :         Real64 HeatExCLNG = 0.0;
     190             :         Real64 DesDehumidCLNG = 0.0;
     191             :         Real64 DesDehumidElec = 0.0;
     192             :         Real64 SolarCollectHeating = 0.0;
     193             :         Real64 SolarCollectCooling = 0.0;
     194             :         Real64 UserDefinedTerminalHeating = 0.0;
     195             :         Real64 UserDefinedTerminalCooling = 0.0;
     196             : 
     197             :         // SYSTEM COMPONENT ENERGY REPORT
     198             :         Real64 FANCompHTNG = 0.0;
     199             :         Real64 FANCompElec = 0.0;
     200             :         Real64 CCCompCLNG = 0.0;
     201             :         Real64 CCCompH2OCOLD = 0.0;
     202             :         Real64 CCCompElec = 0.0;
     203             :         Real64 HCCompH2OHOT = 0.0;
     204             :         Real64 HCCompElec = 0.0;
     205             :         Real64 HCCompElecRes = 0.0;
     206             :         Real64 HCCompHTNG = 0.0;
     207             :         Real64 HCCompNaturalGas = 0.0;
     208             :         Real64 HCCompPropane = 0.0;
     209             :         Real64 HCCompSteam = 0.0;
     210             :         Real64 DomesticH2O = 0.0;
     211             :     };
     212             : 
     213        4285 :     struct SysPreDefRepType
     214             :     {
     215             :         Real64 MechVentTotal = 0.0;           // air loop mechanical vent total volume OA at standard density {m3}
     216             :         Real64 NatVentTotal = 0.0;            // air loop natural vent total volume OA at standard density {m3}
     217             :         Real64 TargetVentTotalVoz = 0.0;      // air loop target ventilation ventilation flow based on 62.1 Voz-dyn {m3}
     218             :         Real64 TimeBelowVozDynTotal = 0.0;    // time [hrs] that mechanical+natural ventilation is < VozTarget - 1%
     219             :         Real64 TimeAtVozDynTotal = 0.0;       // time [hrs] that mechanical+natural ventilation is = VozTarget within 1% and > zero
     220             :         Real64 TimeAboveVozDynTotal = 0.0;    // time [hrs] that mechanical+natural ventilation is > VozTarget + 1%
     221             :         Real64 MechVentTotalOcc = 0.0;        // air loop mechanical vent total volume OA at standard density {m3} during occupied
     222             :         Real64 NatVentTotalOcc = 0.0;         // air loop natural vent total volume OA at standard density {m3} during occupied
     223             :         Real64 TargetVentTotalVozOcc = 0.0;   // air loop target ventilation ventilation flow based on 62.1 Voz-dyn {m3} during occupied
     224             :         Real64 TimeBelowVozDynTotalOcc = 0.0; // time [hrs] that mechanical+natural ventilation is < VozTarget - 1% during occupied
     225             :         Real64 TimeAtVozDynTotalOcc = 0.0;    // time [hrs] that mechanical+natural ventilation is = VozTarget within 1% and > zero during occ
     226             :         Real64 TimeAboveVozDynTotalOcc = 0.0; // time [hrs] that mechanical+natural ventilation is > VozTarget + 1% during occupied
     227             :         Real64 TimeVentUnoccTotal = 0.0;      // time [hrs] that mechanical+natural ventilation is > zero during unoccupied
     228             :         Real64 TimeOccupiedTotal = 0.0;       // time [hrs] that any zone is occupied
     229             : 
     230             :         std::vector<Real64> TimeAtOALimit = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0};    // time [hrs] at limit [n]
     231             :         std::vector<Real64> TimeAtOALimitOcc = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; // time [hrs] at limit [n] during occupied
     232             :         std::vector<Real64> MechVentTotAtLimitOcc = {
     233             :             0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; // air loop mech vent total vol OA at limit [n] {m3} during occupied
     234             :     };
     235             : 
     236             :     // Functions
     237             : 
     238             :     void InitEnergyReports(EnergyPlusData &state);
     239             : 
     240             :     void FindFirstLastPtr(EnergyPlusData &state, int &LoopType, int &LoopNum, int &ArrayCount, int &LoopCount, bool &ConnectionFlag);
     241             : 
     242             :     void UpdateZoneCompPtrArray(EnergyPlusData &state,
     243             :                                 int &Idx,
     244             :                                 int const ListNum,
     245             :                                 int const AirDistUnitNum,
     246             :                                 int const PlantLoopType,
     247             :                                 int const PlantLoop,
     248             :                                 int const PlantBranch,
     249             :                                 int const PlantComp);
     250             : 
     251             :     void UpdateZoneSubCompPtrArray(EnergyPlusData &state,
     252             :                                    int &Idx,
     253             :                                    int const ListNum,
     254             :                                    int const AirDistUnitNum,
     255             :                                    int const SubCompNum,
     256             :                                    int const PlantLoopType,
     257             :                                    int const PlantLoop,
     258             :                                    int const PlantBranch,
     259             :                                    int const PlantComp);
     260             : 
     261             :     void UpdateZoneSubSubCompPtrArray(EnergyPlusData &state,
     262             :                                       int &Idx,
     263             :                                       int const ListNum,
     264             :                                       int const AirDistUnitNum,
     265             :                                       int const SubCompNum,
     266             :                                       int const SubSubCompNum,
     267             :                                       int const PlantLoopType,
     268             :                                       int const PlantLoop,
     269             :                                       int const PlantBranch,
     270             :                                       int const PlantComp);
     271             : 
     272             :     void UpdateAirSysCompPtrArray(EnergyPlusData &state,
     273             :                                   int &Idx,
     274             :                                   int const AirLoopNum,
     275             :                                   int const BranchNum,
     276             :                                   int const CompNum,
     277             :                                   int const PlantLoopType,
     278             :                                   int const PlantLoop,
     279             :                                   int const PlantBranch,
     280             :                                   int const PlantComp);
     281             : 
     282             :     void UpdateAirSysSubCompPtrArray(EnergyPlusData &state,
     283             :                                      int &Idx,
     284             :                                      int const AirLoopNum,
     285             :                                      int const BranchNum,
     286             :                                      int const CompNum,
     287             :                                      int const SubCompNum,
     288             :                                      int const PlantLoopType,
     289             :                                      int const PlantLoop,
     290             :                                      int const PlantBranch,
     291             :                                      int const PlantComp);
     292             : 
     293             :     void UpdateAirSysSubSubCompPtrArray(EnergyPlusData &state,
     294             :                                         int &Idx,
     295             :                                         int const AirLoopNum,
     296             :                                         int const BranchNum,
     297             :                                         int const CompNum,
     298             :                                         int const SubCompNum,
     299             :                                         int const SubSubCompNum,
     300             :                                         int const PlantLoopType,
     301             :                                         int const PlantLoop,
     302             :                                         int const PlantBranch,
     303             :                                         int const PlantComp);
     304             : 
     305             :     void AllocateAndSetUpVentReports(EnergyPlusData &state);
     306             : 
     307             :     void CreateEnergyReportStructure(EnergyPlusData &state);
     308             : 
     309             :     // End Initialization Section of the Module
     310             :     //******************************************************************************
     311             : 
     312             :     // Beginning of Reporting subroutines for the SimAir Module
     313             :     // *****************************************************************************
     314             : 
     315             :     void ReportSystemEnergyUse(EnergyPlusData &state);
     316             : 
     317             :     void CalcSystemEnergyUse(EnergyPlusData &state,
     318             :                              bool const CompLoadFlag,
     319             :                              int const AirLoopNum,
     320             :                              std::string const &CompType,
     321             :                              DataGlobalConstants::ResourceType const EnergyType,
     322             :                              Real64 const CompLoad,
     323             :                              Real64 const CompEnergy);
     324             : 
     325             :     void ReportVentilationLoads(EnergyPlusData &state);
     326             : 
     327             :     void MatchPlantSys(EnergyPlusData &state,
     328             :                        int const AirLoopNum, // counter for zone air distribution inlets
     329             :                        int const BranchNum   // counter for zone air distribution inlets
     330             :     );
     331             : 
     332             :     void FindDemandSideMatch(EnergyPlusData &state,
     333             :                              std::string const &CompType, // Inlet node of the component to find the match of
     334             :                              std::string_view CompName,   // Outlet node of the component to find the match of
     335             :                              bool &MatchFound,            // Set to .TRUE. when a match is found
     336             :                              int &MatchLoopType,          // Loop number of the match
     337             :                              int &MatchLoop,              // Loop number of the match
     338             :                              int &MatchBranch,            // Branch number of the match
     339             :                              int &MatchComp               // Component number of the match
     340             :     );
     341             : 
     342             :     void ReportAirLoopConnections(EnergyPlusData &state);
     343             : 
     344             :     //        End of Reporting subroutines for the SimAir Module
     345             :     // *****************************************************************************
     346             : 
     347             :     struct IdentifyLoop
     348             :     {
     349             :         // Members
     350             :         int LoopNum;
     351             :         int LoopType;
     352             : 
     353             :         // Default Constructor
     354             :         IdentifyLoop() : LoopNum(0), LoopType(0)
     355             :         {
     356             :         }
     357             :     };
     358             : 
     359             : } // namespace SystemReports
     360             : 
     361        1542 : struct SystemReportsData : BaseGlobalStruct
     362             : {
     363             : 
     364             :     Real64 AnyZoneTimeBelowVozDyn = 0.0;    // time [hrs] that any zone mechanical+natural ventilation is < VozTarget - 1%
     365             :     Real64 AllZonesTimeAtVozDyn = 0.0;      // time [hrs] that all zones mechanical+natural ventilation is = VozTarget within 1% and > zero
     366             :     Real64 AnyZoneTimeAboveVozDyn = 0.0;    // time [hrs] that any zone mechanical+natural ventilation is > VozTarget + 1%
     367             :     Real64 AnyZoneTimeVentUnocc = 0.0;      // time [hrs] that any zone mechanical+natural ventilation is > zero during unoccupied
     368             :     Real64 AnyZoneTimeBelowVozDynOcc = 0.0; // time [hrs] that any zone mechanical+natural ventilation is < VozTarget - 1% during occupied
     369             :     Real64 AllZonesTimeAtVozDynOcc = 0.0;   // time [hrs] that all zones mech+nat vent is = VozTarget within 1% and > zero during occupied
     370             :     Real64 AnyZoneTimeAboveVozDynOcc = 0.0; // time [hrs] that any zone mechanical+natural ventilation is > VozTarget + 1% during occupied
     371             : 
     372             :     bool AirLoopLoadsReportEnabled = true;
     373             :     bool VentLoadsReportEnabled = true;
     374             :     bool VentEnergyReportEnabled = false;
     375             :     bool VentReportStructureCreated = false;
     376             :     int TotalLoopConnects = 0; // Total number of loop connections
     377             :     int MaxLoopArraySize = 100;
     378             :     int MaxCompArraySize = 500;
     379             : 
     380             :     EPVector<SystemReports::SummarizeLoads> Vent;
     381             :     EPVector<SystemReports::ZoneVentReportVariables> ZoneVentRepVars;
     382             :     EPVector<SystemReports::SysVentReportVariables> SysVentRepVars;
     383             :     EPVector<SystemReports::SysLoadReportVariables> SysLoadRepVars;
     384             :     EPVector<SystemReports::SysPreDefRepType> SysPreDefRep;
     385             : 
     386             :     bool OneTimeFlag_FindFirstLastPtr = true;
     387             :     bool OneTimeFlag_InitEnergyReports = true;
     388             :     bool OneTimeFlag_UpdateZoneCompPtrArray = true;
     389             :     int ArrayLimit_UpdateZoneCompPtrArray = 100;
     390             :     int ArrayCounter_UpdateZoneCompPtrArray = 1;
     391             :     bool OneTimeFlag_UpdateZoneSubCompPtrArray = true;
     392             :     int ArrayLimit_UpdateZoneSubCompPtrArray = 100;
     393             :     int ArrayCounter_UpdateZoneSubCompPtrArray = 1;
     394             :     bool OneTimeFlag_UpdateZoneSubSubCompPtrArray = true;
     395             :     int ArrayLimit_UpdateZoneSubSubCompPtrArray = 100;
     396             :     int ArrayCounter_UpdateZoneSubSubCompPtrArray = 1;
     397             :     bool OneTimeFlag_UpdateAirSysCompPtrArray = true;
     398             :     int ArrayLimit_UpdateAirSysCompPtrArray = 100;
     399             :     int ArrayCounter_UpdateAirSysCompPtrArray = 1;
     400             :     bool OneTimeFlag_UpdateAirSysSubCompPtrArray = true;
     401             :     int ArrayLimit_UpdateAirSysSubCompPtrArray = 100;
     402             :     int ArrayCounter_UpdateAirSysSubCompPtrArray = 1;
     403             :     bool OneTimeFlag_UpdateAirSysSubSubCompPtrArray = true;
     404             :     int ArrayLimit_UpdateAirSysSubSubCompPtrArray = 100;
     405             :     int ArrayCounter_UpdateAirSysSubSubCompPtrArray = 1;
     406             :     int NumCompTypes = 0;
     407             :     Array1D<SystemReports::CompTypeError> CompTypeErrors = Array1D<SystemReports::CompTypeError>(100);
     408             :     Array1D<SystemReports::IdentifyLoop> LoopStack;
     409             : 
     410           0 :     void clear_state() override
     411             :     {
     412           0 :         this->AnyZoneTimeBelowVozDyn = 0.0;
     413           0 :         this->AllZonesTimeAtVozDyn = 0.0;
     414           0 :         this->AnyZoneTimeAboveVozDyn = 0.0;
     415           0 :         this->AnyZoneTimeVentUnocc = 0.0;
     416           0 :         this->AnyZoneTimeBelowVozDynOcc = 0.0;
     417           0 :         this->AllZonesTimeAtVozDynOcc = 0.0;
     418           0 :         this->AnyZoneTimeAboveVozDynOcc = 0.0;
     419           0 :         this->AirLoopLoadsReportEnabled = true;
     420           0 :         this->VentLoadsReportEnabled = true;
     421           0 :         this->VentEnergyReportEnabled = false;
     422           0 :         this->VentReportStructureCreated = false;
     423           0 :         this->TotalLoopConnects = 0;
     424           0 :         this->MaxLoopArraySize = 100;
     425           0 :         this->MaxCompArraySize = 500;
     426           0 :         this->Vent.deallocate();
     427           0 :         this->ZoneVentRepVars.deallocate();
     428           0 :         this->SysVentRepVars.deallocate();
     429           0 :         this->SysLoadRepVars.deallocate();
     430           0 :         this->SysPreDefRep.deallocate();
     431           0 :         this->OneTimeFlag_FindFirstLastPtr = true;
     432           0 :         this->OneTimeFlag_InitEnergyReports = true;
     433           0 :         this->OneTimeFlag_UpdateZoneCompPtrArray = true;
     434           0 :         this->ArrayLimit_UpdateZoneCompPtrArray = 100;
     435           0 :         this->ArrayCounter_UpdateZoneCompPtrArray = 1;
     436           0 :         this->OneTimeFlag_UpdateZoneSubCompPtrArray = true;
     437           0 :         this->ArrayLimit_UpdateZoneSubCompPtrArray = 100;
     438           0 :         this->ArrayCounter_UpdateZoneSubCompPtrArray = 1;
     439           0 :         this->OneTimeFlag_UpdateZoneSubSubCompPtrArray = true;
     440           0 :         this->ArrayLimit_UpdateZoneSubSubCompPtrArray = 100;
     441           0 :         this->ArrayCounter_UpdateZoneSubSubCompPtrArray = 1;
     442           0 :         this->OneTimeFlag_UpdateAirSysCompPtrArray = true;
     443           0 :         this->ArrayLimit_UpdateAirSysCompPtrArray = 100;
     444           0 :         this->ArrayCounter_UpdateAirSysCompPtrArray = 1;
     445           0 :         this->OneTimeFlag_UpdateAirSysSubCompPtrArray = true;
     446           0 :         this->ArrayLimit_UpdateAirSysSubCompPtrArray = 100;
     447           0 :         this->ArrayCounter_UpdateAirSysSubCompPtrArray = 1;
     448           0 :         this->OneTimeFlag_UpdateAirSysSubSubCompPtrArray = true;
     449           0 :         this->ArrayLimit_UpdateAirSysSubSubCompPtrArray = 100;
     450           0 :         this->ArrayCounter_UpdateAirSysSubSubCompPtrArray = 1;
     451           0 :         this->NumCompTypes = 0;
     452           0 :         this->CompTypeErrors = Array1D<SystemReports::CompTypeError>(100);
     453           0 :     }
     454             : };
     455             : 
     456             : } // namespace EnergyPlus
     457             : 
     458             : #endif

Generated by: LCOV version 1.13