LCOV - code coverage report
Current view: top level - EnergyPlus - DataHVACGlobals.cc (source / functions) Hit Total Coverage
Test: lcov.output.filtered Lines: 20 20 100.0 %
Date: 2023-01-17 19:17:23 Functions: 2 2 100.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             : // EnergyPlus Headers
      49             : #include <EnergyPlus/DataHVACGlobals.hh>
      50             : 
      51             : namespace EnergyPlus {
      52             : 
      53             : namespace DataHVACGlobals {
      54             : 
      55             :     // MODULE INFORMATION:
      56             :     //       MODIFIED       Craig Wray 22Aug2010 Added Fan Component Model
      57             : 
      58             :     // PURPOSE OF THIS MODULE:
      59             :     // This data-only module is a repository for HVAC variables which are considered
      60             :     // to be "global" in nature in EnergyPlus.
      61             : 
      62             :     Array1D_string const
      63         771 :         cFanTypes(NumAllFanTypes,
      64         771 :                   {"Fan:ConstantVolume", "Fan:VariableVolume", "Fan:OnOff", "Fan:ZoneExhaust", "Fan:ComponentModel", "Fan:SystemModel"});
      65             : 
      66         771 :     Array1D_string const cFurnaceTypes(NumUnitarySystemTypes,
      67             :                                        {"AirLoopHVAC:Unitary:Furnace:HeatOnly",
      68             :                                         "AirLoopHVAC:Unitary:Furnace:HeatCool",
      69             :                                         "AirLoopHVAC:UnitaryHeatOnly",
      70             :                                         "AirLoopHVAC:UnitaryHeatCool",
      71             :                                         "AirLoopHVAC:UnitaryHeatPump:AirToAir",
      72             :                                         "AirLoopHVAC:UnitaryHeatPump:WaterToAir",
      73         771 :                                         "AirLoopHVAC:UnitarySystem"});
      74             : 
      75         771 :     Array1D_string const cAllCoilTypes(NumAllCoilTypes,
      76             :                                        {"Coil:Cooling:DX:SingleSpeed",
      77             :                                         "Coil:Heating:DX:SingleSpeed",
      78             :                                         "Coil:Cooling:DX:TwoSpeed",
      79             :                                         "CoilSystem:Cooling:DX:HeatExchangerAssisted",
      80             :                                         "Coil:Cooling:DX:TwoStageWithHumidityControlMode",
      81             :                                         "Coil:WaterHeating:AirToWaterHeatPump:Pumped",
      82             :                                         "Coil:WaterHeating:AirToWaterHeatPump:Wrapped",
      83             :                                         "Coil:Cooling:DX:MultiSpeed",
      84             :                                         "Coil:Heating:DX:MultiSpeed",
      85             :                                         "Coil:Heating:Fuel",
      86             :                                         "Coil:Heating:Gas:MultiStage",
      87             :                                         "Coil:Heating:Electric",
      88             :                                         "Coil:Heating:Electric:MultiStage",
      89             :                                         "Coil:Heating:Desuperheater",
      90             :                                         "Coil:Cooling:Water",
      91             :                                         "Coil:Cooling:Water:DetailedGeometry",
      92             :                                         "Coil:Heating:Water",
      93             :                                         "Coil:Heating:Steam",
      94             :                                         "CoilSystem:Cooling:Water:HeatExchangerAssisted",
      95             :                                         "Coil:Cooling:WaterToAirHeatPump:ParameterEstimation",
      96             :                                         "Coil:Heating:WaterToAirHeatPump:ParameterEstimation",
      97             :                                         "Coil:Cooling:WaterToAirHeatPump:EquationFit",
      98             :                                         "Coil:Heating:WaterToAirHeatPump:EquationFit",
      99             :                                         "Coil:Cooling:DX:VariableRefrigerantFlow",
     100             :                                         "Coil:Heating:DX:VariableRefrigerantFlow",
     101             :                                         "Coil:UserDefined",
     102             :                                         "Coil:Cooling:DX:SingleSpeed:ThermalStorage",
     103             :                                         "Coil:Cooling:WaterToAirHeatPump:VariableSpeedEquationFit",
     104             :                                         "Coil:Heating:WaterToAirHeatPump:VariableSpeedEquationFit",
     105             :                                         "Coil:Cooling:DX:VariableSpeed",
     106             :                                         "Coil:Heating:DX:VariableSpeed",
     107             :                                         "Coil:WaterHeating:AirToWaterHeatPump:VariableSpeed",
     108             :                                         "Coil:Cooling:DX:VariableRefrigerantFlow:FluidTemperatureControl",
     109             :                                         "Coil:Heating:DX:VariableRefrigerantFlow:FluidTemperatureControl",
     110             :                                         "Coil:Cooling:DX",
     111             :                                         "Coil:Cooling:DX:SubcoolReheat",
     112         771 :                                         "Coil:Cooling:DX:CurveFit:Speed"});
     113             : 
     114         771 :     Array1D_string const cCoolingCoilTypes(NumAllCoilTypes,
     115             :                                            {"Coil:Cooling:DX:SingleSpeed",
     116             :                                             "",
     117             :                                             "Coil:Cooling:DX:TwoSpeed",
     118             :                                             "CoilSystem:Cooling:DX:HeatExchangerAssisted",
     119             :                                             "Coil:Cooling:DX:TwoStageWithHumidityControlMode",
     120             :                                             "",
     121             :                                             "",
     122             :                                             "Coil:Cooling:DX:MultiSpeed",
     123             :                                             "",
     124             :                                             "",
     125             :                                             "",
     126             :                                             "",
     127             :                                             "",
     128             :                                             "",
     129             :                                             "Coil:Cooling:Water",
     130             :                                             "Coil:Cooling:Water:DetailedGeometry",
     131             :                                             "",
     132             :                                             "",
     133             :                                             "CoilSystem:Cooling:Water:HeatExchangerAssisted",
     134             :                                             "Coil:Cooling:WaterToAirHeatPump:ParameterEstimation",
     135             :                                             "",
     136             :                                             "Coil:Cooling:WaterToAirHeatPump:EquationFit",
     137             :                                             "",
     138             :                                             "Coil:Cooling:DX:VariableRefrigerantFlow",
     139             :                                             "",
     140             :                                             "",
     141             :                                             "Coil:Cooling:DX:SingleSpeed:ThermalStorage",
     142             :                                             "Coil:Cooling:WaterToAirHeatPump:VariableSpeedEquationFit",
     143             :                                             "",
     144             :                                             "Coil:Cooling:DX:VariableSpeed",
     145             :                                             "",
     146             :                                             "",
     147             :                                             "Coil:Cooling:DX:VariableRefrigerantFlow:FluidTemperatureControl",
     148             :                                             "",
     149             :                                             "Coil:Cooling:DX",
     150             :                                             "Coil:Cooling:DX:SubcoolReheat",
     151         771 :                                             "Coil:Cooling:DX:CurveFit:Speed"});
     152             : 
     153         771 :     Array1D_string const cHeatingCoilTypes(NumAllCoilTypes,
     154             :                                            {"",
     155             :                                             "Coil:Heating:DX:SingleSpeed",
     156             :                                             "",
     157             :                                             "",
     158             :                                             "",
     159             :                                             "Coil:WaterHeating:AirToWaterHeatPump:Pumped",
     160             :                                             "Coil:WaterHeating:AirToWaterHeatPump:Wrapped",
     161             :                                             "",
     162             :                                             "Coil:Heating:DX:MultiSpeed",
     163             :                                             "Coil:Heating:Fuel",
     164             :                                             "Coil:Heating:Gas:MultiStage",
     165             :                                             "Coil:Heating:Electric",
     166             :                                             "Coil:Heating:Electric:MultiStage",
     167             :                                             "Coil:Heating:Desuperheater",
     168             :                                             "",
     169             :                                             "",
     170             :                                             "Coil:Heating:Water",
     171             :                                             "Coil:Heating:Steam",
     172             :                                             "",
     173             :                                             "",
     174             :                                             "Coil:Heating:WaterToAirHeatPump:ParameterEstimation",
     175             :                                             "",
     176             :                                             "Coil:Heating:WaterToAirHeatPump:EquationFit",
     177             :                                             "",
     178             :                                             "Coil:Heating:DX:VariableRefrigerantFlow",
     179             :                                             "",
     180             :                                             "",
     181             :                                             "",
     182             :                                             "Coil:Heating:WaterToAirHeatPump:VariableSpeedEquationFit",
     183             :                                             "",
     184             :                                             "Coil:Heating:DX:VariableSpeed",
     185             :                                             "Coil:WaterHeating:AirToWaterHeatPump:VariableSpeed",
     186             :                                             "",
     187             :                                             "Coil:Heating:DX:VariableRefrigerantFlow:FluidTemperatureControl",
     188             :                                             "",
     189             :                                             "",
     190         771 :                                             ""});
     191             : 
     192             :     Array1D_string const
     193         771 :         cHXTypes(NumHXTypes,
     194         771 :                  {"HeatExchanger:AirToAir:FlatPlate", "HeatExchanger:AirToAir:SensibleAndLatent", "HeatExchanger:Desiccant:BalancedFlow"});
     195             : 
     196         771 :     Array1D_string const cATMixerTypes(NumATMixerTypes, {"AirTerminal:SingleDuct:InletSideMixer", "AirTerminal:SingleDuct:SupplySideMixer"});
     197             : 
     198         771 :     Array1D_string const cVRFTUTypes(NumVRFTUTypes, std::string("ZoneHVAC:TerminalUnit:VariableRefrigerantFlow"));
     199             : 
     200         771 :     Array1D_string const cVRFHeatingPerformanceOATTypes(NumVRFHeatingPerformanceOATTypes, {"WetBulbTemperature", "DryBulbTemperature"});
     201             : 
     202         771 :     Array1D_string const ZoneHVACTerminalTypes(NumZoneHVACTerminalTypes,
     203             :                                                {"ZONEHVAC:TERMINALUNIT:VARIABLEREFRIGERANTFLOW",
     204             :                                                 "ZONEHVAC:ENERGYRECOVERYVENTILATOR",
     205             :                                                 "ZONEHVAC:FOURPIPEFANCOIL",
     206             :                                                 "ZONEHVAC:OUTDOORAIRUNIT",
     207             :                                                 "ZONEHVAC:PACKAGEDTERMINALAIRCONDITIONER",
     208             :                                                 "ZONEHVAC:PACKAGEDTERMINALHEATPUMP",
     209             :                                                 "ZONEHVAC:UNITHEATER",
     210             :                                                 "ZONEHVAC:UNITVENTILATOR",
     211             :                                                 "ZONEHVAC:VENTILATEDSLAB",
     212             :                                                 "ZONEHVAC:WATERTOAIRHEATPUMP",
     213             :                                                 "ZONEHVAC:WINDOWAIRCONDITIONER",
     214             :                                                 "ZONEHVAC:BASEBOARD:RADIANTCONVECTIVE:ELECTRIC",
     215             :                                                 "ZONEHVAC:BASEBOARD:RADIANTCONVECTIVE:WATER",
     216             :                                                 "ZONEHVAC:BASEBOARD:RADIANTCONVECTIVE:STEAM",
     217             :                                                 "ZONEHVAC:BASEBOARD:CONVECTIVE:ELECTRIC",
     218             :                                                 "ZONEHVAC:BASEBOARD:CONVECTIVE:WATER",
     219             :                                                 "ZONEHVAC:HIGHTEMPERATURERADIANT",
     220             :                                                 "ZONEHVAC:DEHUMIDIFIER:DX",
     221             :                                                 "ZONEHVAC:IDEALLOADSAIRSYSTEM",
     222             :                                                 "ZONEHVAC:REFRIGERATIONCHILLERSET",
     223             :                                                 "ZONEHVAC:HYBRIDUNITARYHVAC",
     224             :                                                 "FAN:ZONEEXHAUST",
     225             :                                                 "WATERHEATER:HEATPUMP",
     226             :                                                 "AIRTERMINAL:DUALDUCT:CONSTANTVOLUME",
     227             :                                                 "AIRTERMINAL:DUALDUCT:VAV",
     228             :                                                 "AIRTERMINAL:SINGLEDUCT:CONSTANTVOLUME:REHEAT",
     229             :                                                 "AIRTERMINAL:SINGLEDUCT:CONSTANTVOLUME:NOREHEAT",
     230             :                                                 "AIRTERMINAL:SINGLEDUCT:VAV:REHEAT",
     231             :                                                 "AIRTERMINAL:SINGLEDUCT:VAV:NOREHEAT",
     232             :                                                 "AIRTERMINAL:SINGLEDUCT:SERIESPIU:REHEAT",
     233             :                                                 "AIRTERMINAL:SINGLEDUCT:PARALLELPIU:REHEAT",
     234             :                                                 "AIRTERMINAL:SINGLEDUCT:CONSTANTVOLUME:FOURPIPEINDUCTION",
     235             :                                                 "AIRTERMINAL:SINGLEDUCT:VAV:REHEAT:VARIABLESPEEDFAN",
     236             :                                                 "AIRTERMINAL:SINGLEDUCT:VAV:HEATANDCOOL:REHEAT",
     237             :                                                 "AIRTERMINAL:SINGLEDUCT:VAV:HEATANDCOOL:NOREHEAT",
     238             :                                                 "AIRTERMINAL:SINGLEDUCT:CONSTANTVOLUME:COOLEDBEAM",
     239             :                                                 "AIRTERMINAL:DUALDUCT:VAV:OUTDOORAIR",
     240         771 :                                                 "AIRLOOPHVACRETURNAIR"});
     241             : 
     242         771 :     Array1D_string const ccZoneHVACTerminalTypes(NumZoneHVACTerminalTypes,
     243             :                                                  {"ZoneHVAC:TerminalUnit:VariableRefrigerantFlow",
     244             :                                                   "ZoneHVAC:EnergyRecoveryVentilator",
     245             :                                                   "ZoneHVAC:FourPipeFanCoil",
     246             :                                                   "ZoneHVAC:OutdoorAirUnit",
     247             :                                                   "ZoneHVAC:PackagedTerminalAirConditioner",
     248             :                                                   "ZoneHVAC:PackagedTerminalHeatPump",
     249             :                                                   "ZoneHVAC:UnitHeater",
     250             :                                                   "ZoneHVAC:UnitVentilator",
     251             :                                                   "ZoneHVAC:VentilatedSlab",
     252             :                                                   "ZoneHVAC:WaterToAirHeatPump",
     253             :                                                   "ZoneHVAC:WindowAirConditioner",
     254             :                                                   "ZoneHVAC:Baseboard:RadiantConvective:Electric",
     255             :                                                   "ZoneHVAC:Baseboard:RadiantConvective:Water",
     256             :                                                   "ZoneHVAC:Baseboard:RadiantConvective:Steam",
     257             :                                                   "ZoneHVAC:Baseboard:Convective:Electric",
     258             :                                                   "ZoneHVAC:Baseboard:Convective:Water",
     259             :                                                   "ZoneHVAC:HighTemperatureRadiant",
     260             :                                                   "ZoneHVAC:Dehumidifier:DX",
     261             :                                                   "ZoneHVAC:IdealLoadsAirSystem",
     262             :                                                   "ZoneHVAC:RefrigerationChillerSet",
     263             :                                                   "ZoneHVAC:HybridUnitaryHVAC",
     264             :                                                   "Fan:ZoneExhaust",
     265             :                                                   "WaterHeater:HeatPump",
     266             :                                                   "AirTerminal:DualDuct:ConstantVolume",
     267             :                                                   "AirTerminal:DualDuct:VAV",
     268             :                                                   "AirTerminal:SingleDuct:ConstantVolume:Reheat",
     269             :                                                   "AirTerminal:SingleDuct:ConstantVolume:NoReheat",
     270             :                                                   "AirTerminal:SingleDuct:VAV:Reheat",
     271             :                                                   "AirTerminal:SingleDuct:VAV:NoReheat",
     272             :                                                   "AirTerminal:SingleDuct:SeriesPIU:Reheat",
     273             :                                                   "AirTerminal:SingleDuct:ParallelPIU:Reheat",
     274             :                                                   "AirTerminal:SingleDuct:ConstantVolume:FourPipeInduction",
     275             :                                                   "AirTerminal:SingleDuct:VAV:Reheat:VariableSpeedFan",
     276             :                                                   "AirTerminal:SingleDuct:VAV:HeatAndCool:Reheat",
     277             :                                                   "AirTerminal:SingleDuct:VAV:HeatAndCool:NoReheat",
     278             :                                                   "AirTerminal:SingleDuct:ConstantVolume:CooledBeam",
     279             :                                                   "AirTerminal:DualDuct:VAV:OutdoorAir",
     280         771 :                                                   "AirLoopHVACReturnAir"});
     281             : 
     282             : } // namespace DataHVACGlobals
     283             : 
     284        2313 : } // namespace EnergyPlus

Generated by: LCOV version 1.13