LCOV - code coverage report
Current view: top level - EnergyPlus/Data - EnergyPlusData.cc (source / functions) Hit Total Coverage
Test: lcov.output.filtered Lines: 253 514 49.2 %
Date: 2023-01-17 19:17:23 Functions: 3 4 75.0 %

          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             : #include <EnergyPlus/Data/CommonIncludes.hh>
      49             : #include <EnergyPlus/Data/EnergyPlusData.hh>
      50             : 
      51             : #include <memory>
      52             : 
      53             : namespace EnergyPlus {
      54             : 
      55         771 : EnergyPlusData::EnergyPlusData()
      56             : {
      57         771 :     this->dataAirLoop = std::make_unique<DataAirLoopData>();
      58         771 :     this->dataAirLoopHVACDOAS = std::make_unique<AirLoopHVACDOASData>();
      59         771 :     this->dataAirSystemsData = std::make_unique<AirSystemsData>();
      60         771 :     this->afn = std::make_unique<AirflowNetwork::Solver>(*this);
      61         771 :     this->dataBSDFWindow = std::make_unique<BSDFWindowData>();
      62         771 :     this->dataBaseSizerFanHeatInputs = std::make_unique<BaseSizerWithFanHeatInputsData>();
      63         771 :     this->dataBaseSizerScalableInputs = std::make_unique<BaseSizerWithScalableInputsData>();
      64         771 :     this->dataBaseboardElectric = std::make_unique<BaseboardElectricData>();
      65         771 :     this->dataBaseboardRadiator = std::make_unique<BaseboardRadiatorData>();
      66         771 :     this->dataBoilerSteam = std::make_unique<BoilerSteamData>();
      67         771 :     this->dataBoilers = std::make_unique<BoilersData>();
      68         771 :     this->dataBranchAirLoopPlant = std::make_unique<DataBranchAirLoopPlantData>();
      69         771 :     this->dataBranchInputManager = std::make_unique<BranchInputManagerData>();
      70         771 :     this->dataBranchNodeConnections = std::make_unique<BranchNodeConnectionsData>();
      71         771 :     this->dataCHPElectGen = std::make_unique<MicroCHPElectricGeneratorData>();
      72         771 :     this->dataCTElectricGenerator = std::make_unique<CTElectricGeneratorData>();
      73         771 :     this->dataChilledCeilingPanelSimple = std::make_unique<ChilledCeilingPanelSimpleData>();
      74         771 :     this->dataChillerAbsorber = std::make_unique<ChillerAbsorberData>();
      75         771 :     this->dataChillerElectricEIR = std::make_unique<ChillerElectricEIRData>();
      76         771 :     this->dataChillerExhaustAbsorption = std::make_unique<ChillerExhaustAbsorptionData>();
      77         771 :     this->dataChillerGasAbsorption = std::make_unique<ChillerGasAbsorptionData>();
      78         771 :     this->dataChillerIndirectAbsorption = std::make_unique<ChillerIndirectAbsoprtionData>();
      79         771 :     this->dataChillerReformulatedEIR = std::make_unique<ChillerReformulatedEIRData>();
      80         771 :     this->dataChillerElectricASHRAE205 = std::make_unique<ChillerElectricASHRAE205Data>();
      81         771 :     this->dataCoilCooingDX = std::make_unique<CoilCoolingDXData>();
      82         771 :     this->dataCondenserLoopTowers = std::make_unique<CondenserLoopTowersData>();
      83         771 :     this->dataConstruction = std::make_unique<ConstructionData>();
      84         771 :     this->dataContaminantBalance = std::make_unique<ContaminantBalanceData>();
      85         771 :     this->dataConvectionCoefficient = std::make_unique<ConvectionCoefficientsData>();
      86         771 :     this->dataConvergeParams = std::make_unique<ConvergParamsData>();
      87         771 :     this->dataCoolTower = std::make_unique<CoolTowerData>();
      88         771 :     this->dataCostEstimateManager = std::make_unique<CostEstimateManagerData>();
      89         771 :     this->dataCrossVentMgr = std::make_unique<CrossVentMgrData>();
      90         771 :     this->dataCurveManager = std::make_unique<CurveManagerData>();
      91         771 :     this->dataDXCoils = std::make_unique<DXCoilsData>();
      92         771 :     this->dataDXFEarClipping = std::make_unique<DXFEarClippingData>();
      93         771 :     this->dataDaylightingData = std::make_unique<DaylightingData>();
      94         771 :     this->dataDaylightingDevices = std::make_unique<DaylightingDevicesData>();
      95         771 :     this->dataDaylightingDevicesData = std::make_unique<DataDaylightingDevicesData>();
      96         771 :     this->dataDaylightingManager = std::make_unique<DaylightingManagerData>();
      97         771 :     this->dataDefineEquipment = std::make_unique<DefineEquipData>();
      98         771 :     this->dataDemandManager = std::make_unique<DemandManagerData>();
      99         771 :     this->dataDesiccantDehumidifiers = std::make_unique<DesiccantDehumidifiersData>();
     100         771 :     this->dataDispVentMgr = std::make_unique<DisplacementVentMgrData>();
     101         771 :     this->dataDualDuct = std::make_unique<DualDuctData>();
     102         771 :     this->dataEIRPlantLoopHeatPump = std::make_unique<EIRPlantLoopHeatPumpsData>();
     103         771 :     this->dataEMSMgr = std::make_unique<EMSManagerData>();
     104         771 :     this->dataEarthTube = std::make_unique<EarthTubeData>();
     105         771 :     this->dataEcoRoofMgr = std::make_unique<EcoRoofManagerData>();
     106         771 :     this->dataEconLifeCycleCost = std::make_unique<EconomicLifeCycleCostData>();
     107         771 :     this->dataEconTariff = std::make_unique<EconomicTariffData>();
     108         771 :     this->dataElectBaseboardRad = std::make_unique<ElectricBaseboardRadiatorData>();
     109         771 :     this->dataElectPwrSvcMgr = std::make_unique<ElectPwrSvcMgrData>();
     110         771 :     this->dataEnvrn = std::make_unique<EnvironmentData>();
     111         771 :     this->dataErrTracking = std::make_unique<ErrorTrackingData>();
     112         771 :     this->dataEvapCoolers = std::make_unique<EvaporativeCoolersData>();
     113         771 :     this->dataEvapFluidCoolers = std::make_unique<EvaporativeFluidCoolersData>();
     114         771 :     this->dataExteriorEnergyUse = std::make_unique<ExteriorEnergyUseData>();
     115         771 :     this->dataExternalInterface = std::make_unique<ExternalInterfaceData>();
     116         771 :     this->dataFanCoilUnits = std::make_unique<FanCoilUnitsData>();
     117         771 :     this->dataFans = std::make_unique<FansData>();
     118         771 :     this->dataFaultsMgr = std::make_unique<FaultsManagerData>();
     119         771 :     this->dataFluidCoolers = std::make_unique<FluidCoolersData>();
     120         771 :     this->dataFluidProps = std::make_unique<FluidPropertiesData>();
     121         771 :     this->dataFourPipeBeam = std::make_unique<FourPipeBeamData>();
     122         771 :     this->dataFuelCellElectGen = std::make_unique<FuelCellElectricGeneratorData>();
     123         771 :     this->dataFurnaces = std::make_unique<FurnacesData>();
     124         771 :     this->dataGeneral = std::make_unique<GeneralData>();
     125         771 :     this->dataGeneralRoutines = std::make_unique<GeneralRoutinesData>();
     126         771 :     this->dataGenerator = std::make_unique<GeneratorsData>();
     127         771 :     this->dataGeneratorFuelSupply = std::make_unique<GeneratorFuelSupplyData>();
     128         771 :     this->dataGlobal = std::make_unique<DataGlobal>();
     129         771 :     this->dataGlobalConst = std::make_unique<DataGlobalConstantsData>();
     130         771 :     this->dataGlobalNames = std::make_unique<GlobalNamesData>();
     131         771 :     this->dataGrndTempModelMgr = std::make_unique<GroundTemperatureManagerData>();
     132         771 :     this->dataGroundHeatExchanger = std::make_unique<GroundHeatExchangerData>();
     133         771 :     this->dataHPWaterToWaterClg = std::make_unique<HeatPumpWaterToWaterCOOLINGData>();
     134         771 :     this->dataHPWaterToWaterHtg = std::make_unique<HeatPumpWaterToWaterHEATINGData>();
     135         771 :     this->dataHPWaterToWaterSimple = std::make_unique<HeatPumpWaterToWaterSimpleData>();
     136         771 :     this->dataHVACAssistedCC = std::make_unique<HVACHXAssistedCoolingCoilData>();
     137         771 :     this->dataHVACControllers = std::make_unique<HVACControllersData>();
     138         771 :     this->dataHVACCooledBeam = std::make_unique<HVACCooledBeamData>();
     139         771 :     this->dataHVACCtrl = std::make_unique<HVACCtrlData>();
     140         771 :     this->dataHVACDXHeatPumpSys = std::make_unique<HVACDXHeatPumpSystemData>();
     141         771 :     this->dataHVACDuct = std::make_unique<HVACDuctData>();
     142         771 :     this->dataHVACFan = std::make_unique<HVACFanData>();
     143         771 :     this->dataHVACGlobal = std::make_unique<HVACGlobalsData>();
     144         771 :     this->dataHVACInterfaceMgr = std::make_unique<HVACInterfaceManagerData>();
     145         771 :     this->dataHVACMgr = std::make_unique<HVACManagerData>();
     146         771 :     this->dataHVACMultiSpdHP = std::make_unique<HVACMultiSpeedHeatPumpData>();
     147         771 :     this->dataHVACSingleDuctInduc = std::make_unique<HVACSingleDuctInducData>();
     148         771 :     this->dataHVACSizingSimMgr = std::make_unique<HVACSizingSimMgrData>();
     149         771 :     this->dataHVACStandAloneERV = std::make_unique<HVACStandAloneERVData>();
     150         771 :     this->dataHVACUnitaryBypassVAV = std::make_unique<HVACUnitaryBypassVAVData>();
     151         771 :     this->dataHVACVarRefFlow = std::make_unique<HVACVarRefFlowData>();
     152         771 :     this->dataHWBaseboardRad = std::make_unique<HWBaseboardRadiatorData>();
     153         771 :     this->dataHeatBal = std::make_unique<HeatBalanceData>();
     154         771 :     this->dataHeatBalAirMgr = std::make_unique<HeatBalanceAirMgrData>();
     155         771 :     this->dataHeatBalFanSys = std::make_unique<HeatBalFanSysData>();
     156         771 :     this->dataHeatBalFiniteDiffMgr = std::make_unique<HeatBalFiniteDiffMgr>();
     157         771 :     this->dataHeatBalHAMTMgr = std::make_unique<HeatBalHAMTMgrData>();
     158         771 :     this->dataHeatBalIntHeatGains = std::make_unique<HeatBalInternalHeatGainsData>();
     159         771 :     this->dataHeatBalIntRadExchg = std::make_unique<HeatBalanceIntRadExchgData>();
     160         771 :     this->dataHeatBalMgr = std::make_unique<HeatBalanceMgrData>();
     161         771 :     this->dataHeatBalSurf = std::make_unique<HeatBalSurfData>();
     162         771 :     this->dataHeatBalSurfMgr = std::make_unique<HeatBalSurfMgr>();
     163         771 :     this->dataHeatRecovery = std::make_unique<HeatRecoveryData>();
     164         771 :     this->dataHeatingCoils = std::make_unique<HeatingCoilsData>();
     165         771 :     this->dataHighTempRadSys = std::make_unique<HighTempRadiantSystemData>();
     166         771 :     this->dataHumidifiers = std::make_unique<HumidifiersData>();
     167         771 :     this->dataHybridModel = std::make_unique<HybridModelData>();
     168         771 :     this->dataHybridUnitaryAC = std::make_unique<HybridUnitaryAirConditionersData>();
     169         771 :     this->dataHysteresisPhaseChange = std::make_unique<HysteresisPhaseChangeData>();
     170         771 :     this->dataICEngElectGen = std::make_unique<ICEngineElectricGeneratorData>();
     171         771 :     this->dataInputProcessing = std::make_unique<DataInputProcessing>();
     172         771 :     this->dataIPShortCut = std::make_unique<IPShortCutsData>();
     173         771 :     this->dataIceThermalStorage = std::make_unique<IceThermalStorageData>();
     174         771 :     this->dataIntegratedHP = std::make_unique<IntegratedHeatPumpGlobalData>();
     175         771 :     this->dataInternalHeatGains = std::make_unique<InternalHeatGainsData>();
     176         771 :     this->dataLoopNodes = std::make_unique<LoopNodeData>();
     177         771 :     this->dataLowTempRadSys = std::make_unique<LowTempRadiantSystemData>();
     178         771 :     this->dataMaterial = std::make_unique<MaterialData>();
     179         771 :     this->dataMatrixDataManager = std::make_unique<MatrixDataManagerData>();
     180         771 :     this->dataMircoturbElectGen = std::make_unique<MicroturbineElectricGeneratorData>();
     181         771 :     this->dataMixedAir = std::make_unique<MixedAirData>();
     182         771 :     this->dataMixerComponent = std::make_unique<MixerComponentData>();
     183         771 :     this->dataMoistureBalEMPD = std::make_unique<MoistureBalanceEMPDManagerData>();
     184         771 :     this->dataMstBal = std::make_unique<MoistureBalanceData>();
     185         771 :     this->dataMstBalEMPD = std::make_unique<MoistureBalanceEMPDData>();
     186         771 :     this->dataMundtSimMgr = std::make_unique<MundtSimMgrData>();
     187         771 :     this->dataNodeInputMgr = std::make_unique<NodeInputManagerData>();
     188         771 :     this->dataOutAirNodeMgr = std::make_unique<OutAirNodeManagerData>();
     189         771 :     this->dataOutRptPredefined = std::make_unique<OutputReportPredefinedData>();
     190         771 :     this->dataOutRptTab = std::make_unique<OutputReportTabularData>();
     191         771 :     this->dataOutdoorAirUnit = std::make_unique<OutdoorAirUnitData>();
     192         771 :     this->dataOutput = std::make_unique<OutputsData>();
     193         771 :     this->dataOutputProcessor = std::make_unique<OutputProcessorData>();
     194         771 :     this->dataOutputReportTabularAnnual = std::make_unique<OutputReportTabularAnnualData>();
     195         771 :     this->dataOutputReports = std::make_unique<OutputReportsData>();
     196         771 :     this->dataOutsideEnergySrcs = std::make_unique<OutsideEnergySourcesData>();
     197         771 :     this->dataPackagedThermalStorageCoil = std::make_unique<PackagedThermalStorageCoilData>();
     198         771 :     this->dataPhotovoltaic = std::make_unique<PhotovoltaicsData>();
     199         771 :     this->dataPhotovoltaicState = std::make_unique<PhotovoltaicStateData>();
     200         771 :     this->dataPhotovoltaicThermalCollector = std::make_unique<PhotovoltaicThermalCollectorsData>();
     201         771 :     this->dataPipeHT = std::make_unique<PipeHeatTransferData>();
     202         771 :     this->dataPipes = std::make_unique<PipesData>();
     203         771 :     this->dataPlantCentralGSHP = std::make_unique<PlantCentralGSHPData>();
     204         771 :     this->dataPlantChillers = std::make_unique<PlantChillersData>();
     205         771 :     this->dataPlantCompTempSrc = std::make_unique<PlantCompTempSrcData>();
     206         771 :     this->dataPlantCondLoopOp = std::make_unique<PlantCondLoopOperationData>();
     207         771 :     this->dataPlantHXFluidToFluid = std::make_unique<PlantHeatExchangerFluidToFluidData>();
     208         771 :     this->dataPlantLoadProfile = std::make_unique<PlantLoadProfileData>();
     209         771 :     this->dataPlantMgr = std::make_unique<PlantMgrData>();
     210         771 :     this->dataPlantPipingSysMgr = std::make_unique<PlantPipingSysMgrData>();
     211         771 :     this->dataPlantPressureSys = std::make_unique<PlantPressureSysData>();
     212         771 :     this->dataPlantUtilities = std::make_unique<PlantUtilitiesData>();
     213         771 :     this->dataPlantValves = std::make_unique<PlantValvesData>();
     214         771 :     this->dataPlnt = std::make_unique<DataPlantData>();
     215         771 :     this->dataPluginManager = std::make_unique<PluginManagerData>();
     216         771 :     this->dataPollutionModule = std::make_unique<PollutionModuleData>();
     217         771 :     this->dataPondGHE = std::make_unique<PondGroundHeatExchangerData>();
     218         771 :     this->dataPowerInductionUnits = std::make_unique<PoweredInductionUnitsData>();
     219         771 :     this->dataPsychrometrics = std::make_unique<PsychrometricsData>();
     220         771 :     this->dataPsychCache = std::make_unique<PsychrometricCacheData>();
     221         771 :     this->dataPumps = std::make_unique<PumpsData>();
     222         771 :     this->dataPurchasedAirMgr = std::make_unique<PurchasedAirManagerData>();
     223         771 :     this->dataRefrigCase = std::make_unique<RefrigeratedCaseData>();
     224         771 :     this->dataReportFlag = std::make_unique<ReportFlagData>();
     225         771 :     this->dataResultsFramework = std::make_unique<ResultsFrameworkData>();
     226         771 :     this->dataRetAirPathMrg = std::make_unique<ReturnAirPathMgr>();
     227         771 :     this->dataExhAirSystemMrg = std::make_unique<ExhaustAirSystemMgr>();
     228         771 :     this->dataExhCtrlSystemMrg = std::make_unique<ExhaustControlSystemMgr>();
     229         771 :     this->dataRoomAirMod = std::make_unique<RoomAirModelData>();
     230         771 :     this->dataRoomAirModelMgr = std::make_unique<RoomAirModelManagerData>();
     231         771 :     this->dataRoomAirModelTempPattern = std::make_unique<RoomAirModelUserTempPatternData>();
     232         771 :     this->dataRoomAirflowNetModel = std::make_unique<RoomAirModelAirflowNetworkData>();
     233         771 :     this->dataRootFinder = std::make_unique<RootFindingData>();
     234         771 :     this->dataRptCoilSelection = std::make_unique<ReportCoilSelectionData>();
     235         771 :     this->dataRuntimeLang = std::make_unique<RuntimeLanguageData>();
     236         771 :     this->dataRuntimeLangProcessor = std::make_unique<RuntimeLanguageProcessorData>();
     237         771 :     this->dataSQLiteProcedures = std::make_unique<SQLiteProceduresData>();
     238         771 :     this->dataScheduleMgr = std::make_unique<ScheduleManagerData>();
     239         771 :     this->dataSetPointManager = std::make_unique<SetPointManagerData>();
     240         771 :     this->dataShadowComb = std::make_unique<ShadowCombData>();
     241         771 :     this->dataSimAirServingZones = std::make_unique<SimAirServingZonesData>();
     242         771 :     this->dataSimulationManager = std::make_unique<SimulationManagerData>();
     243         771 :     this->dataSingleDuct = std::make_unique<SingleDuctData>();
     244         771 :     this->dataSize = std::make_unique<SizingData>();
     245         771 :     this->dataSizingManager = std::make_unique<SizingManagerData>();
     246         771 :     this->dataSolarCollectors = std::make_unique<SolarCollectorsData>();
     247         771 :     this->dataSolarReflectionManager = std::make_unique<SolarReflectionManagerData>();
     248         771 :     this->dataSolarShading = std::make_unique<SolarShadingData>();
     249         771 :     this->dataSplitterComponent = std::make_unique<SplitterComponentData>();
     250         771 :     this->dataSteamBaseboardRadiator = std::make_unique<SteamBaseboardRadiatorData>();
     251         771 :     this->dataSteamCoils = std::make_unique<SteamCoilsData>();
     252         771 :     this->dataStrGlobals = std::make_unique<DataStringGlobalsData>();
     253         771 :     this->dataSurfColor = std::make_unique<SurfaceColorData>();
     254         771 :     this->dataSurfLists = std::make_unique<SurfaceListsData>();
     255         771 :     this->dataSurface = std::make_unique<SurfacesData>();
     256         771 :     this->dataSurfaceGeometry = std::make_unique<SurfaceGeometryData>();
     257         771 :     this->dataSurfaceGroundHeatExchangers = std::make_unique<SurfaceGroundHeatExchangersData>();
     258         771 :     this->dataSwimmingPools = std::make_unique<SwimmingPoolsData>();
     259         771 :     this->dataSysAirFlowSizer = std::make_unique<SystemAirFlowSizerData>();
     260         771 :     this->dataSysRpts = std::make_unique<SystemReportsData>();
     261         771 :     this->dataSysVars = std::make_unique<SystemVarsData>();
     262         771 :     this->dataSystemAvailabilityManager = std::make_unique<SystemAvailabilityManagerData>();
     263         771 :     this->dataTARCOGCommon = std::make_unique<TARCOGCommonData>();
     264         771 :     this->dataTARCOGOutputs = std::make_unique<TARCOGOutputData>();
     265         771 :     this->dataThermalChimneys = std::make_unique<ThermalChimneysData>();
     266         771 :     this->dataThermalComforts = std::make_unique<ThermalComfortsData>();
     267         771 :     this->dataThermalISO15099Calc = std::make_unique<ThermalISO15099CalcData>();
     268         771 :     this->dataTARCOGGasses90 = std::make_unique<TARCOGGasses90Data>();
     269         771 :     this->dataTARCOGMain = std::make_unique<TARCOGMainData>();
     270         771 :     this->dataTarcogShading = std::make_unique<TarcogShadingData>();
     271         771 :     this->dataTimingsData = std::make_unique<DataTimingsData>();
     272         771 :     this->dataTranspiredCollector = std::make_unique<TranspiredCollectorData>();
     273         771 :     this->dataUCSDShared = std::make_unique<UCSDSharedData>();
     274         771 :     this->dataUFADManager = std::make_unique<UFADManagerData>();
     275         771 :     this->dataUnitHeaters = std::make_unique<UnitHeatersData>();
     276         771 :     this->dataUnitVentilators = std::make_unique<UnitVentilatorsData>();
     277         771 :     this->dataUnitarySystems = std::make_unique<UnitarySystemsData>();
     278         771 :     this->dataUserDefinedComponents = std::make_unique<UserDefinedComponentsData>();
     279         771 :     this->dataUtilityRoutines = std::make_unique<UtilityRoutinesData>();
     280         771 :     this->dataVariableSpeedCoils = std::make_unique<VariableSpeedCoilsData>();
     281         771 :     this->dataVectors = std::make_unique<VectorsData>();
     282         771 :     this->dataVentilatedSlab = std::make_unique<VentilatedSlabData>();
     283         771 :     this->dataViewFactor = std::make_unique<ViewFactorInfoData>();
     284         771 :     this->dataWaterCoils = std::make_unique<WaterCoilsData>();
     285         771 :     this->dataWaterData = std::make_unique<DataWaterData>();
     286         771 :     this->dataWaterManager = std::make_unique<WaterManagerData>();
     287         771 :     this->dataWaterThermalTanks = std::make_unique<WaterThermalTanksData>();
     288         771 :     this->dataWaterToAirHeatPump = std::make_unique<WaterToAirHeatPumpData>();
     289         771 :     this->dataWaterToAirHeatPumpSimple = std::make_unique<WaterToAirHeatPumpSimpleData>();
     290         771 :     this->dataWaterUse = std::make_unique<WaterUseData>();
     291         771 :     this->dataWeatherManager = std::make_unique<WeatherManagerData>();
     292         771 :     this->dataWindTurbine = std::make_unique<WindTurbineData>();
     293         771 :     this->dataWindowAC = std::make_unique<WindowACData>();
     294         771 :     this->dataWindowComplexManager = std::make_unique<WindowComplexManagerData>();
     295         771 :     this->dataWindowEquivLayer = std::make_unique<WindowEquivLayerData>();
     296         771 :     this->dataWindowEquivalentLayer = std::make_unique<WindowEquivalentLayerData>();
     297         771 :     this->dataWindowManager = std::make_unique<WindowManagerData>();
     298         771 :     this->dataZoneAirLoopEquipmentManager = std::make_unique<ZoneAirLoopEquipmentManagerData>();
     299         771 :     this->dataZoneContaminantPredictorCorrector = std::make_unique<ZoneContaminantPredictorCorrectorData>();
     300         771 :     this->dataZoneCtrls = std::make_unique<DataZoneControlsData>();
     301         771 :     this->dataZoneDehumidifier = std::make_unique<ZoneDehumidifierData>();
     302         771 :     this->dataZoneEnergyDemand = std::make_unique<DataZoneEnergyDemandsData>();
     303         771 :     this->dataZoneEquip = std::make_unique<DataZoneEquipmentData>();
     304         771 :     this->dataZoneEquipmentManager = std::make_unique<ZoneEquipmentManagerData>();
     305         771 :     this->dataZonePlenum = std::make_unique<ZonePlenumData>();
     306         771 :     this->dataZoneTempPredictorCorrector = std::make_unique<ZoneTempPredictorCorrectorData>();
     307         771 : }
     308             : 
     309             : EnergyPlusData::~EnergyPlusData() = default;
     310             : 
     311           0 : void EnergyPlusData::clear_state()
     312             : {
     313           0 :     this->ready = true;
     314           0 :     this->dataAirLoop->clear_state();
     315           0 :     this->dataAirLoopHVACDOAS->clear_state();
     316           0 :     this->dataAirSystemsData->clear_state();
     317           0 :     this->afn->clear_state();
     318           0 :     this->dataBSDFWindow->clear_state();
     319           0 :     this->dataBaseSizerFanHeatInputs->clear_state();
     320           0 :     this->dataBaseSizerScalableInputs->clear_state();
     321           0 :     this->dataBaseboardElectric->clear_state();
     322           0 :     this->dataBaseboardRadiator->clear_state();
     323           0 :     this->dataBoilerSteam->clear_state();
     324           0 :     this->dataBoilers->clear_state();
     325           0 :     this->dataBranchAirLoopPlant->clear_state();
     326           0 :     this->dataBranchInputManager->clear_state();
     327           0 :     this->dataBranchNodeConnections->clear_state();
     328           0 :     this->dataCHPElectGen->clear_state();
     329           0 :     this->dataCTElectricGenerator->clear_state();
     330           0 :     this->dataChilledCeilingPanelSimple->clear_state();
     331           0 :     this->dataChillerAbsorber->clear_state();
     332           0 :     this->dataChillerElectricEIR->clear_state();
     333           0 :     this->dataChillerExhaustAbsorption->clear_state();
     334           0 :     this->dataChillerGasAbsorption->clear_state();
     335           0 :     this->dataChillerIndirectAbsorption->clear_state();
     336           0 :     this->dataChillerReformulatedEIR->clear_state();
     337           0 :     this->dataChillerElectricASHRAE205->clear_state();
     338           0 :     this->dataCoilCooingDX->clear_state();
     339           0 :     this->dataCondenserLoopTowers->clear_state();
     340           0 :     this->dataConstruction->clear_state();
     341           0 :     this->dataContaminantBalance->clear_state();
     342           0 :     this->dataConvectionCoefficient->clear_state();
     343           0 :     this->dataConvergeParams->clear_state();
     344           0 :     this->dataCoolTower->clear_state();
     345           0 :     this->dataCostEstimateManager->clear_state();
     346           0 :     this->dataCrossVentMgr->clear_state();
     347           0 :     this->dataCurveManager->clear_state();
     348           0 :     this->dataDXCoils->clear_state();
     349           0 :     this->dataDXFEarClipping->clear_state();
     350           0 :     this->dataDaylightingData->clear_state();
     351           0 :     this->dataDaylightingDevices->clear_state();
     352           0 :     this->dataDaylightingDevicesData->clear_state();
     353           0 :     this->dataDaylightingManager->clear_state();
     354           0 :     this->dataDefineEquipment->clear_state();
     355           0 :     this->dataDemandManager->clear_state();
     356           0 :     this->dataDesiccantDehumidifiers->clear_state();
     357           0 :     this->dataDispVentMgr->clear_state();
     358           0 :     this->dataDualDuct->clear_state();
     359           0 :     this->dataEIRPlantLoopHeatPump->clear_state();
     360           0 :     this->dataEMSMgr->clear_state();
     361           0 :     this->dataEarthTube->clear_state();
     362           0 :     this->dataEcoRoofMgr->clear_state();
     363           0 :     this->dataEconLifeCycleCost->clear_state();
     364           0 :     this->dataEconTariff->clear_state();
     365           0 :     this->dataElectBaseboardRad->clear_state();
     366           0 :     this->dataElectPwrSvcMgr->clear_state();
     367           0 :     this->dataEnvrn->clear_state();
     368           0 :     this->dataErrTracking->clear_state();
     369           0 :     this->dataEvapCoolers->clear_state();
     370           0 :     this->dataEvapFluidCoolers->clear_state();
     371           0 :     this->dataExteriorEnergyUse->clear_state();
     372           0 :     this->dataExternalInterface->clear_state();
     373           0 :     this->dataFanCoilUnits->clear_state();
     374           0 :     this->dataFans->clear_state();
     375           0 :     this->dataFaultsMgr->clear_state();
     376           0 :     this->dataFluidCoolers->clear_state();
     377           0 :     this->dataFluidProps->clear_state();
     378           0 :     this->dataFourPipeBeam->clear_state();
     379           0 :     this->dataFuelCellElectGen->clear_state();
     380           0 :     this->dataFurnaces->clear_state();
     381           0 :     this->dataGeneral->clear_state();
     382           0 :     this->dataGeneralRoutines->clear_state();
     383           0 :     this->dataGenerator->clear_state();
     384           0 :     this->dataGeneratorFuelSupply->clear_state();
     385           0 :     this->dataGlobal->clear_state();
     386           0 :     this->dataGlobalConst->clear_state();
     387           0 :     this->dataGlobalNames->clear_state();
     388           0 :     this->dataGrndTempModelMgr->clear_state();
     389           0 :     this->dataGroundHeatExchanger->clear_state();
     390           0 :     this->dataHPWaterToWaterClg->clear_state();
     391           0 :     this->dataHPWaterToWaterHtg->clear_state();
     392           0 :     this->dataHPWaterToWaterSimple->clear_state();
     393           0 :     this->dataHVACAssistedCC->clear_state();
     394           0 :     this->dataHVACControllers->clear_state();
     395           0 :     this->dataHVACCooledBeam->clear_state();
     396           0 :     this->dataHVACCtrl->clear_state();
     397           0 :     this->dataHVACDXHeatPumpSys->clear_state();
     398           0 :     this->dataHVACDuct->clear_state();
     399           0 :     this->dataHVACFan->clear_state();
     400           0 :     this->dataHVACGlobal->clear_state();
     401           0 :     this->dataHVACInterfaceMgr->clear_state();
     402           0 :     this->dataHVACMgr->clear_state();
     403           0 :     this->dataHVACMultiSpdHP->clear_state();
     404           0 :     this->dataHVACSingleDuctInduc->clear_state();
     405           0 :     this->dataHVACSizingSimMgr->clear_state();
     406           0 :     this->dataHVACStandAloneERV->clear_state();
     407           0 :     this->dataHVACUnitaryBypassVAV->clear_state();
     408           0 :     this->dataHVACVarRefFlow->clear_state();
     409           0 :     this->dataHWBaseboardRad->clear_state();
     410           0 :     this->dataHeatBal->clear_state();
     411           0 :     this->dataHeatBalAirMgr->clear_state();
     412           0 :     this->dataHeatBalFanSys->clear_state();
     413           0 :     this->dataHeatBalFiniteDiffMgr->clear_state();
     414           0 :     this->dataHeatBalHAMTMgr->clear_state();
     415           0 :     this->dataHeatBalIntHeatGains->clear_state();
     416           0 :     this->dataHeatBalIntRadExchg->clear_state();
     417           0 :     this->dataHeatBalMgr->clear_state();
     418           0 :     this->dataHeatBalSurf->clear_state();
     419           0 :     this->dataHeatBalSurfMgr->clear_state();
     420           0 :     this->dataHeatRecovery->clear_state();
     421           0 :     this->dataHeatingCoils->clear_state();
     422           0 :     this->dataHighTempRadSys->clear_state();
     423           0 :     this->dataHumidifiers->clear_state();
     424           0 :     this->dataHybridModel->clear_state();
     425           0 :     this->dataHybridUnitaryAC->clear_state();
     426           0 :     this->dataHysteresisPhaseChange->clear_state();
     427           0 :     this->dataICEngElectGen->clear_state();
     428           0 :     this->dataIPShortCut->clear_state();
     429           0 :     this->dataIceThermalStorage->clear_state();
     430           0 :     this->dataInputProcessing->clear_state();
     431           0 :     this->dataIntegratedHP->clear_state();
     432           0 :     this->dataInternalHeatGains->clear_state();
     433           0 :     this->dataLoopNodes->clear_state();
     434           0 :     this->dataLowTempRadSys->clear_state();
     435           0 :     this->dataMaterial->clear_state();
     436           0 :     this->dataMatrixDataManager->clear_state();
     437           0 :     this->dataMircoturbElectGen->clear_state();
     438           0 :     this->dataMixedAir->clear_state();
     439           0 :     this->dataMixerComponent->clear_state();
     440           0 :     this->dataMoistureBalEMPD->clear_state();
     441           0 :     this->dataMstBal->clear_state();
     442           0 :     this->dataMstBalEMPD->clear_state();
     443           0 :     this->dataMundtSimMgr->clear_state();
     444           0 :     this->dataNodeInputMgr->clear_state();
     445           0 :     this->dataOutAirNodeMgr->clear_state();
     446           0 :     this->dataOutRptPredefined->clear_state();
     447           0 :     this->dataOutRptTab->clear_state();
     448           0 :     this->dataOutdoorAirUnit->clear_state();
     449           0 :     this->dataOutput->clear_state();
     450           0 :     this->dataOutputProcessor->clear_state();
     451           0 :     this->dataOutputReportTabularAnnual->clear_state();
     452           0 :     this->dataOutputReports->clear_state();
     453           0 :     this->dataOutsideEnergySrcs->clear_state();
     454           0 :     this->dataPackagedThermalStorageCoil->clear_state();
     455           0 :     this->dataPhotovoltaic->clear_state();
     456           0 :     this->dataPhotovoltaicState->clear_state();
     457           0 :     this->dataPhotovoltaicThermalCollector->clear_state();
     458           0 :     this->dataPipeHT->clear_state();
     459           0 :     this->dataPipes->clear_state();
     460           0 :     this->dataPlantCentralGSHP->clear_state();
     461           0 :     this->dataPlantChillers->clear_state();
     462           0 :     this->dataPlantCompTempSrc->clear_state();
     463           0 :     this->dataPlantCondLoopOp->clear_state();
     464           0 :     this->dataPlantHXFluidToFluid->clear_state();
     465           0 :     this->dataPlantLoadProfile->clear_state();
     466           0 :     this->dataPlantMgr->clear_state();
     467           0 :     this->dataPlantPipingSysMgr->clear_state();
     468           0 :     this->dataPlantPressureSys->clear_state();
     469           0 :     this->dataPlantUtilities->clear_state();
     470           0 :     this->dataPlantValves->clear_state();
     471           0 :     this->dataPlnt->clear_state();
     472           0 :     this->dataPluginManager->clear_state();
     473           0 :     this->dataPollutionModule->clear_state();
     474           0 :     this->dataPondGHE->clear_state();
     475           0 :     this->dataPowerInductionUnits->clear_state();
     476           0 :     this->dataPsychrometrics->clear_state();
     477           0 :     this->dataPsychCache->clear_state();
     478           0 :     this->dataPumps->clear_state();
     479           0 :     this->dataPurchasedAirMgr->clear_state();
     480           0 :     this->dataRefrigCase->clear_state();
     481           0 :     this->dataReportFlag->clear_state();
     482           0 :     this->dataResultsFramework->clear_state();
     483           0 :     this->dataRetAirPathMrg->clear_state();
     484           0 :     this->dataExhAirSystemMrg->clear_state();
     485           0 :     this->dataExhCtrlSystemMrg->clear_state();
     486           0 :     this->dataRoomAirMod->clear_state();
     487           0 :     this->dataRoomAirModelMgr->clear_state();
     488           0 :     this->dataRoomAirModelTempPattern->clear_state();
     489           0 :     this->dataRoomAirflowNetModel->clear_state();
     490           0 :     this->dataRootFinder->clear_state();
     491           0 :     this->dataRptCoilSelection->clear_state();
     492           0 :     this->dataRuntimeLang->clear_state();
     493           0 :     this->dataRuntimeLangProcessor->clear_state();
     494           0 :     this->dataSQLiteProcedures->clear_state();
     495           0 :     this->dataScheduleMgr->clear_state();
     496           0 :     this->dataSetPointManager->clear_state();
     497           0 :     this->dataShadowComb->clear_state();
     498           0 :     this->dataSimAirServingZones->clear_state();
     499           0 :     this->dataSimulationManager->clear_state();
     500           0 :     this->dataSingleDuct->clear_state();
     501           0 :     this->dataSize->clear_state();
     502           0 :     this->dataSizingManager->clear_state();
     503           0 :     this->dataSolarCollectors->clear_state();
     504           0 :     this->dataSolarReflectionManager->clear_state();
     505           0 :     this->dataSolarShading->clear_state();
     506           0 :     this->dataSplitterComponent->clear_state();
     507           0 :     this->dataSteamBaseboardRadiator->clear_state();
     508           0 :     this->dataSteamCoils->clear_state();
     509           0 :     this->dataStrGlobals->clear_state();
     510           0 :     this->dataSurfColor->clear_state();
     511           0 :     this->dataSurfLists->clear_state();
     512           0 :     this->dataSurface->clear_state();
     513           0 :     this->dataSurfaceGeometry->clear_state();
     514           0 :     this->dataSurfaceGroundHeatExchangers->clear_state();
     515           0 :     this->dataSwimmingPools->clear_state();
     516           0 :     this->dataSysAirFlowSizer->clear_state();
     517           0 :     this->dataSysRpts->clear_state();
     518           0 :     this->dataSysVars->clear_state();
     519           0 :     this->dataSystemAvailabilityManager->clear_state();
     520           0 :     this->dataTARCOGCommon->clear_state();
     521           0 :     this->dataTARCOGOutputs->clear_state();
     522           0 :     this->dataThermalChimneys->clear_state();
     523           0 :     this->dataThermalComforts->clear_state();
     524           0 :     this->dataThermalISO15099Calc->clear_state();
     525           0 :     this->dataTARCOGGasses90->clear_state();
     526           0 :     this->dataTARCOGMain->clear_state();
     527           0 :     this->dataTarcogShading->clear_state();
     528           0 :     this->dataTimingsData->clear_state();
     529           0 :     this->dataTranspiredCollector->clear_state();
     530           0 :     this->dataUCSDShared->clear_state();
     531           0 :     this->dataUFADManager->clear_state();
     532           0 :     this->dataUnitHeaters->clear_state();
     533           0 :     this->dataUnitVentilators->clear_state();
     534           0 :     this->dataUnitarySystems->clear_state();
     535           0 :     this->dataUserDefinedComponents->clear_state();
     536           0 :     this->dataUtilityRoutines->clear_state();
     537           0 :     this->dataVariableSpeedCoils->clear_state();
     538           0 :     this->dataVectors->clear_state();
     539           0 :     this->dataVentilatedSlab->clear_state();
     540           0 :     this->dataViewFactor->clear_state();
     541           0 :     this->dataWaterCoils->clear_state();
     542           0 :     this->dataWaterData->clear_state();
     543           0 :     this->dataWaterManager->clear_state();
     544           0 :     this->dataWaterThermalTanks->clear_state();
     545           0 :     this->dataWaterToAirHeatPump->clear_state();
     546           0 :     this->dataWaterToAirHeatPumpSimple->clear_state();
     547           0 :     this->dataWaterUse->clear_state();
     548           0 :     this->dataWeatherManager->clear_state();
     549           0 :     this->dataWindTurbine->clear_state();
     550           0 :     this->dataWindowAC->clear_state();
     551           0 :     this->dataWindowComplexManager->clear_state();
     552           0 :     this->dataWindowEquivLayer->clear_state();
     553           0 :     this->dataWindowEquivalentLayer->clear_state();
     554           0 :     this->dataWindowManager->clear_state();
     555           0 :     this->dataZoneAirLoopEquipmentManager->clear_state();
     556           0 :     this->dataZoneContaminantPredictorCorrector->clear_state();
     557           0 :     this->dataZoneCtrls->clear_state();
     558           0 :     this->dataZoneDehumidifier->clear_state();
     559           0 :     this->dataZoneEnergyDemand->clear_state();
     560           0 :     this->dataZoneEquip->clear_state();
     561           0 :     this->dataZoneEquipmentManager->clear_state();
     562           0 :     this->dataZonePlenum->clear_state();
     563           0 :     this->dataZoneTempPredictorCorrector->clear_state();
     564             : 
     565           0 :     this->files.debug.close();
     566           0 :     this->files.err_stream.reset();
     567           0 :     this->files.eso.close();
     568           0 :     this->files.mtr.close();
     569           0 :     this->files.mtr.close();
     570           0 :     this->files.shade.close();
     571           0 :     this->files.ssz.close();
     572           0 :     this->files.zsz.close();
     573           0 : }
     574        2313 : } // namespace EnergyPlus

Generated by: LCOV version 1.13