LCOV - code coverage report
Current view: top level - EnergyPlus - PollutionModule.hh (source / functions) Hit Total Coverage
Test: lcov.output.filtered Lines: 18 47 38.3 %
Date: 2023-01-17 19:17:23 Functions: 7 9 77.8 %

          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 PollutionModule_hh_INCLUDED
      49             : #define PollutionModule_hh_INCLUDED
      50             : 
      51             : // ObjexxFCL Headers
      52             : #include <ObjexxFCL/Array1D.hh>
      53             : 
      54             : // EnergyPlus Headers
      55             : #include <EnergyPlus/Data/BaseData.hh>
      56             : #include <EnergyPlus/DataGlobals.hh>
      57             : #include <EnergyPlus/EnergyPlus.hh>
      58             : 
      59             : namespace EnergyPlus {
      60             : 
      61             : namespace PollutionModule {
      62             : 
      63             :     enum class PollFactor
      64             :     {
      65             :         Invalid = -1,
      66             :         Elec,
      67             :         NatGas,
      68             :         FuelOil1,
      69             :         FuelOil2,
      70             :         Coal,
      71             :         Gasoline,
      72             :         Propane,
      73             :         Diesel,
      74             :         OtherFuel1,
      75             :         OtherFuel2,
      76             :         Num
      77             :     };
      78             : 
      79             :     // MODULE VARIABLE DECLARATIONS:
      80             :     // Total for all of the Pollutants
      81             :     // Total Carbon Equivalent Components
      82             :     //  !Fuel Types
      83             :     // Total Carbon Equivalent Coeffs
      84             :     // Purchased Efficiencies
      85             : 
      86             :     // Fuel Types used with the Pollution Factors
      87             :     // Facility Meter Indexes
      88             :     // Facility Meter Values used in Pollution Calcs
      89             : 
      90             :     struct ComponentProps
      91             :     {
      92             :         // Members
      93             :         int FuelFactorType;
      94             :         Real64 Source;
      95             :         Real64 CO2Pollution;
      96             :         Real64 COPollution;
      97             :         Real64 CH4Pollution;
      98             :         Real64 NOxPollution;
      99             :         Real64 N2OPollution;
     100             :         Real64 SO2Pollution;
     101             :         Real64 PMPollution;
     102             :         Real64 PM10Pollution;
     103             :         Real64 PM25Pollution;
     104             :         Real64 NH3Pollution;
     105             :         Real64 NMVOCPollution;
     106             :         Real64 HgPollution;
     107             :         Real64 PbPollution;
     108             :         Real64 WaterPollution;
     109             :         Real64 NucHiPollution;
     110             :         Real64 NucLoPollution;
     111             : 
     112             :         // Default Constructor
     113             :         ComponentProps()
     114             :             : FuelFactorType(0), Source(0.0), CO2Pollution(0.0), COPollution(0.0), CH4Pollution(0.0), NOxPollution(0.0), N2OPollution(0.0),
     115             :               SO2Pollution(0.0), PMPollution(0.0), PM10Pollution(0.0), PM25Pollution(0.0), NH3Pollution(0.0), NMVOCPollution(0.0), HgPollution(0.0),
     116             :               PbPollution(0.0), WaterPollution(0.0), NucHiPollution(0.0), NucLoPollution(0.0)
     117             :         {
     118             :         }
     119             : 
     120             :         // Member Constructor
     121        9252 :         ComponentProps(int const FuelFactorType,
     122             :                        Real64 const Source,
     123             :                        Real64 const CO2Pollution,
     124             :                        Real64 const COPollution,
     125             :                        Real64 const CH4Pollution,
     126             :                        Real64 const NOxPollution,
     127             :                        Real64 const N2OPollution,
     128             :                        Real64 const SO2Pollution,
     129             :                        Real64 const PMPollution,
     130             :                        Real64 const PM10Pollution,
     131             :                        Real64 const PM25Pollution,
     132             :                        Real64 const NH3Pollution,
     133             :                        Real64 const NMVOCPollution,
     134             :                        Real64 const HgPollution,
     135             :                        Real64 const PbPollution,
     136             :                        Real64 const WaterPollution,
     137             :                        Real64 const NucHiPollution,
     138             :                        Real64 const NucLoPollution)
     139        9252 :             : FuelFactorType(FuelFactorType), Source(Source), CO2Pollution(CO2Pollution), COPollution(COPollution), CH4Pollution(CH4Pollution),
     140             :               NOxPollution(NOxPollution), N2OPollution(N2OPollution), SO2Pollution(SO2Pollution), PMPollution(PMPollution),
     141             :               PM10Pollution(PM10Pollution), PM25Pollution(PM25Pollution), NH3Pollution(NH3Pollution), NMVOCPollution(NMVOCPollution),
     142             :               HgPollution(HgPollution), PbPollution(PbPollution), WaterPollution(WaterPollution), NucHiPollution(NucHiPollution),
     143        9252 :               NucLoPollution(NucLoPollution)
     144             :         {
     145        9252 :         }
     146             :     };
     147             : 
     148             :     struct CoefficientProps
     149             :     {
     150             :         // Members
     151             :         int FuelFactorType;
     152             :         bool FuelFactorUsed;
     153             :         Real64 Source;
     154             :         Real64 CO2;
     155             :         Real64 CO;
     156             :         Real64 CH4;
     157             :         Real64 NOx;
     158             :         Real64 N2O;
     159             :         Real64 SO2;
     160             :         Real64 PM;
     161             :         Real64 PM10;
     162             :         Real64 PM25;
     163             :         Real64 NH3;
     164             :         Real64 NMVOC;
     165             :         Real64 Hg;
     166             :         Real64 Pb;
     167             :         Real64 Water;
     168             :         Real64 NucHi;
     169             :         Real64 NucLo;
     170             :         int SourceSched;
     171             :         int CO2Sched;
     172             :         int COSched;
     173             :         int CH4Sched;
     174             :         int NOxSched;
     175             :         int N2OSched;
     176             :         int SO2Sched;
     177             :         int PMSched;
     178             :         int PM10Sched;
     179             :         int PM25Sched;
     180             :         int NH3Sched;
     181             :         int NMVOCSched;
     182             :         int HgSched;
     183             :         int PbSched;
     184             :         int WaterSched;
     185             :         int NucHiSched;
     186             :         int NucLoSched;
     187             : 
     188             :         // Default Constructor
     189             :         CoefficientProps()
     190             :             : FuelFactorType(0), FuelFactorUsed(false), Source(0.0), CO2(0.0), CO(0.0), CH4(0.0), NOx(0.0), N2O(0.0), SO2(0.0), PM(0.0), PM10(0.0),
     191             :               PM25(0.0), NH3(0.0), NMVOC(0.0), Hg(0.0), Pb(0.0), Water(0.0), NucHi(0.0), NucLo(0.0), SourceSched(0), CO2Sched(0), COSched(0),
     192             :               CH4Sched(0), NOxSched(0), N2OSched(0), SO2Sched(0), PMSched(0), PM10Sched(0), PM25Sched(0), NH3Sched(0), NMVOCSched(0), HgSched(0),
     193             :               PbSched(0), WaterSched(0), NucHiSched(0), NucLoSched(0)
     194             :         {
     195             :         }
     196             : 
     197             :         // Member Constructor
     198        7710 :         CoefficientProps(int const FuelFactorType,
     199             :                          bool const FuelFactorUsed,
     200             :                          Real64 const Source,
     201             :                          Real64 const CO2,
     202             :                          Real64 const CO,
     203             :                          Real64 const CH4,
     204             :                          Real64 const NOx,
     205             :                          Real64 const N2O,
     206             :                          Real64 const SO2,
     207             :                          Real64 const PM,
     208             :                          Real64 const PM10,
     209             :                          Real64 const PM25,
     210             :                          Real64 const NH3,
     211             :                          Real64 const NMVOC,
     212             :                          Real64 const Hg,
     213             :                          Real64 const Pb,
     214             :                          Real64 const Water,
     215             :                          Real64 const NucHi,
     216             :                          Real64 const NucLo,
     217             :                          int const SourceSched,
     218             :                          int const CO2Sched,
     219             :                          int const COSched,
     220             :                          int const CH4Sched,
     221             :                          int const NOxSched,
     222             :                          int const N2OSched,
     223             :                          int const SO2Sched,
     224             :                          int const PMSched,
     225             :                          int const PM10Sched,
     226             :                          int const PM25Sched,
     227             :                          int const NH3Sched,
     228             :                          int const NMVOCSched,
     229             :                          int const HgSched,
     230             :                          int const PbSched,
     231             :                          int const WaterSched,
     232             :                          int const NucHiSched,
     233             :                          int const NucLoSched)
     234        7710 :             : FuelFactorType(FuelFactorType), FuelFactorUsed(FuelFactorUsed), Source(Source), CO2(CO2), CO(CO), CH4(CH4), NOx(NOx), N2O(N2O),
     235             :               SO2(SO2), PM(PM), PM10(PM10), PM25(PM25), NH3(NH3), NMVOC(NMVOC), Hg(Hg), Pb(Pb), Water(Water), NucHi(NucHi), NucLo(NucLo),
     236             :               SourceSched(SourceSched), CO2Sched(CO2Sched), COSched(COSched), CH4Sched(CH4Sched), NOxSched(NOxSched), N2OSched(N2OSched),
     237             :               SO2Sched(SO2Sched), PMSched(PMSched), PM10Sched(PM10Sched), PM25Sched(PM25Sched), NH3Sched(NH3Sched), NMVOCSched(NMVOCSched),
     238        7710 :               HgSched(HgSched), PbSched(PbSched), WaterSched(WaterSched), NucHiSched(NucHiSched), NucLoSched(NucLoSched)
     239             :         {
     240        7710 :         }
     241             :     };
     242             : 
     243             :     struct PollutionProps
     244             :     {
     245             :         // Members
     246             :         // Components
     247             :         ComponentProps ElecComp;
     248             :         ComponentProps ElecPurchComp;
     249             :         ComponentProps ElecSurplusSoldComp;
     250             :         ComponentProps NatGasComp;
     251             :         ComponentProps FuelOil1Comp;
     252             :         ComponentProps FuelOil2Comp;
     253             :         ComponentProps CoalComp;
     254             :         ComponentProps GasolineComp;
     255             :         ComponentProps PropaneComp;
     256             :         ComponentProps DieselComp;
     257             :         ComponentProps OtherFuel1Comp;
     258             :         ComponentProps OtherFuel2Comp;
     259             :         // Total for all of the Pollutants
     260             :         Real64 N2OPollutTotal;
     261             :         Real64 CH4PollutTotal;
     262             :         Real64 CO2PollutTotal;
     263             :         // Total Carbon Equivalent Components
     264             :         Real64 TotCarbonEquivFromN2O;
     265             :         Real64 TotCarbonEquivFromCH4;
     266             :         Real64 TotCarbonEquivFromCO2;
     267             :         // Fuel Type Coefficients
     268             :         CoefficientProps ElecCoef;
     269             :         CoefficientProps NatGasCoef;
     270             :         CoefficientProps FuelOil1Coef;
     271             :         CoefficientProps FuelOil2Coef;
     272             :         CoefficientProps CoalCoef;
     273             :         CoefficientProps GasolineCoef;
     274             :         CoefficientProps PropaneCoef;
     275             :         CoefficientProps DieselCoef;
     276             :         CoefficientProps OtherFuel1Coef;
     277             :         CoefficientProps OtherFuel2Coef;
     278             :         // Total Carbon Equivalent Coeffs
     279             :         Real64 CarbonEquivN2O;
     280             :         Real64 CarbonEquivCH4;
     281             :         Real64 CarbonEquivCO2;
     282             :         Real64 PurchHeatEffic;
     283             :         Real64 PurchCoolCOP;
     284             :         Real64 SteamConvEffic;
     285             : 
     286             :         // Default Constructor
     287             :         PollutionProps()
     288             :             : N2OPollutTotal(0.0), CH4PollutTotal(0.0), CO2PollutTotal(0.0), TotCarbonEquivFromN2O(0.0), TotCarbonEquivFromCH4(0.0),
     289             :               TotCarbonEquivFromCO2(0.0), CarbonEquivN2O(0.0), CarbonEquivCH4(0.0), CarbonEquivCO2(0.0), PurchHeatEffic(0.0), PurchCoolCOP(0.0),
     290             :               SteamConvEffic(0.0)
     291             :         {
     292             :         }
     293             : 
     294             :         // Member Constructor
     295         771 :         PollutionProps(ComponentProps const &ElecComp,
     296             :                        ComponentProps const &ElecPurchComp,
     297             :                        ComponentProps const &ElecSurplusSoldComp,
     298             :                        ComponentProps const &NatGasComp,
     299             :                        ComponentProps const &FuelOil1Comp,
     300             :                        ComponentProps const &FuelOil2Comp,
     301             :                        ComponentProps const &CoalComp,
     302             :                        ComponentProps const &GasolineComp,
     303             :                        ComponentProps const &PropaneComp,
     304             :                        ComponentProps const &DieselComp,
     305             :                        ComponentProps const &OtherFuel1Comp,
     306             :                        ComponentProps const &OtherFuel2Comp,
     307             :                        Real64 const N2OPollutTotal,
     308             :                        Real64 const CH4PollutTotal,
     309             :                        Real64 const CO2PollutTotal,
     310             :                        Real64 const TotCarbonEquivFromN2O,
     311             :                        Real64 const TotCarbonEquivFromCH4,
     312             :                        Real64 const TotCarbonEquivFromCO2,
     313             :                        CoefficientProps const &ElecCoef,
     314             :                        CoefficientProps const &NatGasCoef,
     315             :                        CoefficientProps const &FuelOil1Coef,
     316             :                        CoefficientProps const &FuelOil2Coef,
     317             :                        CoefficientProps const &CoalCoef,
     318             :                        CoefficientProps const &GasolineCoef,
     319             :                        CoefficientProps const &PropaneCoef,
     320             :                        CoefficientProps const &DieselCoef,
     321             :                        CoefficientProps const &OtherFuel1Coef,
     322             :                        CoefficientProps const &OtherFuel2Coef,
     323             :                        Real64 const CarbonEquivN2O,
     324             :                        Real64 const CarbonEquivCH4,
     325             :                        Real64 const CarbonEquivCO2,
     326             :                        Real64 const PurchHeatEffic,
     327             :                        Real64 const PurchCoolCOP,
     328             :                        Real64 const SteamConvEffic)
     329         771 :             : ElecComp(ElecComp), ElecPurchComp(ElecPurchComp), ElecSurplusSoldComp(ElecSurplusSoldComp), NatGasComp(NatGasComp),
     330             :               FuelOil1Comp(FuelOil1Comp), FuelOil2Comp(FuelOil2Comp), CoalComp(CoalComp), GasolineComp(GasolineComp), PropaneComp(PropaneComp),
     331             :               DieselComp(DieselComp), OtherFuel1Comp(OtherFuel1Comp), OtherFuel2Comp(OtherFuel2Comp), N2OPollutTotal(N2OPollutTotal),
     332             :               CH4PollutTotal(CH4PollutTotal), CO2PollutTotal(CO2PollutTotal), TotCarbonEquivFromN2O(TotCarbonEquivFromN2O),
     333             :               TotCarbonEquivFromCH4(TotCarbonEquivFromCH4), TotCarbonEquivFromCO2(TotCarbonEquivFromCO2), ElecCoef(ElecCoef), NatGasCoef(NatGasCoef),
     334             :               FuelOil1Coef(FuelOil1Coef), FuelOil2Coef(FuelOil2Coef), CoalCoef(CoalCoef), GasolineCoef(GasolineCoef), PropaneCoef(PropaneCoef),
     335             :               DieselCoef(DieselCoef), OtherFuel1Coef(OtherFuel1Coef), OtherFuel2Coef(OtherFuel2Coef), CarbonEquivN2O(CarbonEquivN2O),
     336             :               CarbonEquivCH4(CarbonEquivCH4), CarbonEquivCO2(CarbonEquivCO2), PurchHeatEffic(PurchHeatEffic), PurchCoolCOP(PurchCoolCOP),
     337         771 :               SteamConvEffic(SteamConvEffic)
     338             :         {
     339         771 :         }
     340             :     };
     341             : 
     342         771 :     struct FuelTypeProps
     343             :     {
     344             :         // Members
     345             :         // FuelType Names
     346             :         Array1D_string FuelTypeNames;
     347             :         // Fuel Types used with the Pollution Factors
     348             :         Real64 Elec;
     349             :         Real64 NatGas;
     350             :         Real64 FuelOil1;
     351             :         Real64 FuelOil2;
     352             :         Real64 Coal;
     353             :         Real64 Gasoline;
     354             :         Real64 Propane;
     355             :         Real64 Diesel;
     356             :         Real64 OtherFuel1;
     357             :         Real64 OtherFuel2;
     358             :         Real64 ElecPurch;
     359             :         Real64 ElecSold;
     360             :         // Facility Meter Indexes
     361             :         int ElecFacilityIndex;
     362             :         int DieselFacilityIndex;
     363             :         int PurchCoolFacilityIndex;
     364             :         int PurchHeatFacilityIndex;
     365             :         int NatGasFacilityIndex;
     366             :         int GasolineFacilityIndex;
     367             :         int CoalFacilityIndex;
     368             :         int FuelOil1FacilityIndex;
     369             :         int FuelOil2FacilityIndex;
     370             :         int PropaneFacilityIndex;
     371             :         int OtherFuel1FacilityIndex;
     372             :         int OtherFuel2FacilityIndex;
     373             :         int ElecProducedFacilityIndex;
     374             :         int SteamFacilityIndex;
     375             :         int ElecPurchasedFacilityIndex;
     376             :         int ElecSurplusSoldFacilityIndex;
     377             :         // Facility Meter Values used in Pollution Calcs
     378             :         Real64 ElecFacility;
     379             :         Real64 DieselFacility;
     380             :         Real64 PurchCoolFacility;
     381             :         Real64 PurchHeatFacility;
     382             :         Real64 NatGasFacility;
     383             :         Real64 GasolineFacility;
     384             :         Real64 CoalFacility;
     385             :         Real64 FuelOil1Facility;
     386             :         Real64 FuelOil2Facility;
     387             :         Real64 PropaneFacility;
     388             :         Real64 OtherFuel1Facility;
     389             :         Real64 OtherFuel2Facility;
     390             :         Real64 ElecProducedFacility;
     391             :         Real64 SteamFacility;
     392             :         Real64 ElecPurchasedFacility;
     393             :         Real64 ElecSurplusSoldFacility;
     394             : 
     395             :         // Default Constructor
     396         771 :         FuelTypeProps()
     397         771 :             : FuelTypeNames({1, static_cast<int>(PollFactor::Num)}), Elec(0.0), NatGas(0.0), FuelOil1(0.0), FuelOil2(0.0), Coal(0.0), Gasoline(0.0),
     398             :               Propane(0.0), Diesel(0.0), OtherFuel1(0.0), OtherFuel2(0.0), ElecPurch(0.0), ElecSold(0.0), ElecFacilityIndex(0),
     399             :               DieselFacilityIndex(0), PurchCoolFacilityIndex(0), PurchHeatFacilityIndex(0), NatGasFacilityIndex(0), GasolineFacilityIndex(0),
     400             :               CoalFacilityIndex(0), FuelOil1FacilityIndex(0), FuelOil2FacilityIndex(0), PropaneFacilityIndex(0), OtherFuel1FacilityIndex(0),
     401             :               OtherFuel2FacilityIndex(0), ElecProducedFacilityIndex(0), SteamFacilityIndex(0), ElecPurchasedFacilityIndex(0),
     402             :               ElecSurplusSoldFacilityIndex(0), ElecFacility(0.0), DieselFacility(0.0), PurchCoolFacility(0.0), PurchHeatFacility(0.0),
     403             :               NatGasFacility(0.0), GasolineFacility(0.0), CoalFacility(0.0), FuelOil1Facility(0.0), FuelOil2Facility(0.0), PropaneFacility(0.0),
     404             :               OtherFuel1Facility(0.0), OtherFuel2Facility(0.0), ElecProducedFacility(0.0), SteamFacility(0.0), ElecPurchasedFacility(0.0),
     405         771 :               ElecSurplusSoldFacility(0.0)
     406             :         {
     407         771 :         }
     408             :     };
     409             : 
     410             :     void CalculatePollution(EnergyPlusData &state);
     411             : 
     412             :     void SetupPollutionCalculations(EnergyPlusData &state);
     413             : 
     414             :     void GetPollutionFactorInput(EnergyPlusData &state);
     415             : 
     416             :     void SetupPollutionMeterReporting(EnergyPlusData &state);
     417             : 
     418             :     void CheckPollutionMeterReporting(EnergyPlusData &state);
     419             : 
     420             :     void CheckFFSchedule(EnergyPlusData &state,
     421             :                          std::string const &currentModuleObject, // the module Object
     422             :                          std::string const &resourceType,        // resource type (Natural Gas, etc)
     423             :                          std::string const &fieldName,           // Actual field name
     424             :                          std::string const &ScheduleName,        // Schedule Name as input
     425             :                          int &SchedulePtr,                       // Schedule Index
     426             :                          bool &ErrorsFound                       // true if errors found
     427             :     );
     428             : 
     429             :     void CalcPollution(EnergyPlusData &state);
     430             : 
     431             :     void ReadEnergyMeters(EnergyPlusData &state);
     432             : 
     433             :     void GetFuelFactorInfo(EnergyPlusData &state,
     434             :                            std::string const &fuelName,  // input fuel name  (standard from Tabular reports)
     435             :                            bool &fuelFactorUsed,         // return value true if user has entered this fuel
     436             :                            Real64 &fuelSourceFactor,     // if used, the source factor
     437             :                            bool &fuelFactorScheduleUsed, // if true, schedules for this fuel are used
     438             :                            int &ffScheduleIndex          // if schedules for this fuel are used, return schedule index
     439             :     );
     440             : 
     441             :     void GetEnvironmentalImpactFactorInfo(EnergyPlusData &state,
     442             :                                           Real64 &efficiencyDistrictHeating, // if entered, the efficiency of District Heating
     443             :                                           Real64 &efficiencyDistrictCooling, // if entered, the efficiency of District Cooling
     444             :                                           Real64 &sourceFactorSteam          // if entered, the source factor for Steam
     445             :     );
     446             : 
     447             : } // namespace PollutionModule
     448             : 
     449        1542 : struct PollutionModuleData : BaseGlobalStruct
     450             : {
     451             : 
     452             :     bool PollutionReportSetup = false;
     453             :     bool GetInputFlagPollution = true;
     454             :     int NumEnvImpactFactors = 0;
     455             :     int NumFuelFactors = 0;
     456             : 
     457             :     // Object Data
     458             :     PollutionModule::PollutionProps Pollution = {
     459             :         PollutionModule::ComponentProps(
     460             :             static_cast<int>(PollutionModule::PollFactor::Elec), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0),
     461             :         PollutionModule::ComponentProps(
     462             :             static_cast<int>(PollutionModule::PollFactor::Elec), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0),
     463             :         PollutionModule::ComponentProps(
     464             :             static_cast<int>(PollutionModule::PollFactor::Elec), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0),
     465             :         PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::NatGas),
     466             :                                         0.0,
     467             :                                         0.0,
     468             :                                         0.0,
     469             :                                         0.0,
     470             :                                         0.0,
     471             :                                         0.0,
     472             :                                         0.0,
     473             :                                         0.0,
     474             :                                         0.0,
     475             :                                         0.0,
     476             :                                         0.0,
     477             :                                         0.0,
     478             :                                         0.0,
     479             :                                         0.0,
     480             :                                         0.0,
     481             :                                         0.0,
     482             :                                         0.0),
     483             :         PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::FuelOil1),
     484             :                                         0.0,
     485             :                                         0.0,
     486             :                                         0.0,
     487             :                                         0.0,
     488             :                                         0.0,
     489             :                                         0.0,
     490             :                                         0.0,
     491             :                                         0.0,
     492             :                                         0.0,
     493             :                                         0.0,
     494             :                                         0.0,
     495             :                                         0.0,
     496             :                                         0.0,
     497             :                                         0.0,
     498             :                                         0.0,
     499             :                                         0.0,
     500             :                                         0.0),
     501             :         PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::FuelOil2),
     502             :                                         0.0,
     503             :                                         0.0,
     504             :                                         0.0,
     505             :                                         0.0,
     506             :                                         0.0,
     507             :                                         0.0,
     508             :                                         0.0,
     509             :                                         0.0,
     510             :                                         0.0,
     511             :                                         0.0,
     512             :                                         0.0,
     513             :                                         0.0,
     514             :                                         0.0,
     515             :                                         0.0,
     516             :                                         0.0,
     517             :                                         0.0,
     518             :                                         0.0),
     519             :         PollutionModule::ComponentProps(
     520             :             static_cast<int>(PollutionModule::PollFactor::Coal), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0),
     521             :         PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::Gasoline),
     522             :                                         0.0,
     523             :                                         0.0,
     524             :                                         0.0,
     525             :                                         0.0,
     526             :                                         0.0,
     527             :                                         0.0,
     528             :                                         0.0,
     529             :                                         0.0,
     530             :                                         0.0,
     531             :                                         0.0,
     532             :                                         0.0,
     533             :                                         0.0,
     534             :                                         0.0,
     535             :                                         0.0,
     536             :                                         0.0,
     537             :                                         0.0,
     538             :                                         0.0),
     539             :         PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::Propane),
     540             :                                         0.0,
     541             :                                         0.0,
     542             :                                         0.0,
     543             :                                         0.0,
     544             :                                         0.0,
     545             :                                         0.0,
     546             :                                         0.0,
     547             :                                         0.0,
     548             :                                         0.0,
     549             :                                         0.0,
     550             :                                         0.0,
     551             :                                         0.0,
     552             :                                         0.0,
     553             :                                         0.0,
     554             :                                         0.0,
     555             :                                         0.0,
     556             :                                         0.0),
     557             :         PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::Diesel),
     558             :                                         0.0,
     559             :                                         0.0,
     560             :                                         0.0,
     561             :                                         0.0,
     562             :                                         0.0,
     563             :                                         0.0,
     564             :                                         0.0,
     565             :                                         0.0,
     566             :                                         0.0,
     567             :                                         0.0,
     568             :                                         0.0,
     569             :                                         0.0,
     570             :                                         0.0,
     571             :                                         0.0,
     572             :                                         0.0,
     573             :                                         0.0,
     574             :                                         0.0),
     575             :         PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::OtherFuel1),
     576             :                                         0.0,
     577             :                                         0.0,
     578             :                                         0.0,
     579             :                                         0.0,
     580             :                                         0.0,
     581             :                                         0.0,
     582             :                                         0.0,
     583             :                                         0.0,
     584             :                                         0.0,
     585             :                                         0.0,
     586             :                                         0.0,
     587             :                                         0.0,
     588             :                                         0.0,
     589             :                                         0.0,
     590             :                                         0.0,
     591             :                                         0.0,
     592             :                                         0.0),
     593             :         PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::OtherFuel2),
     594             :                                         0.0,
     595             :                                         0.0,
     596             :                                         0.0,
     597             :                                         0.0,
     598             :                                         0.0,
     599             :                                         0.0,
     600             :                                         0.0,
     601             :                                         0.0,
     602             :                                         0.0,
     603             :                                         0.0,
     604             :                                         0.0,
     605             :                                         0.0,
     606             :                                         0.0,
     607             :                                         0.0,
     608             :                                         0.0,
     609             :                                         0.0,
     610             :                                         0.0),
     611             :         0.0,
     612             :         0.0,
     613             :         0.0,
     614             :         0.0,
     615             :         0.0,
     616             :         0.0,
     617             :         PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::Elec),
     618             :                                           false,
     619             :                                           3.167,
     620             :                                           0.0,
     621             :                                           0.0,
     622             :                                           0.0,
     623             :                                           0.0,
     624             :                                           0.0,
     625             :                                           0.0,
     626             :                                           0.0,
     627             :                                           0.0,
     628             :                                           0.0,
     629             :                                           0.0,
     630             :                                           0.0,
     631             :                                           0.0,
     632             :                                           0.0,
     633             :                                           0.0,
     634             :                                           0.0,
     635             :                                           0.0,
     636             :                                           0,
     637             :                                           0,
     638             :                                           0,
     639             :                                           0,
     640             :                                           0,
     641             :                                           0,
     642             :                                           0,
     643             :                                           0,
     644             :                                           0,
     645             :                                           0,
     646             :                                           0,
     647             :                                           0,
     648             :                                           0,
     649             :                                           0,
     650             :                                           0,
     651             :                                           0,
     652             :                                           0),
     653             :         PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::NatGas),
     654             :                                           false,
     655             :                                           1.084,
     656             :                                           0.0,
     657             :                                           0.0,
     658             :                                           0.0,
     659             :                                           0.0,
     660             :                                           0.0,
     661             :                                           0.0,
     662             :                                           0.0,
     663             :                                           0.0,
     664             :                                           0.0,
     665             :                                           0.0,
     666             :                                           0.0,
     667             :                                           0.0,
     668             :                                           0.0,
     669             :                                           0.0,
     670             :                                           0.0,
     671             :                                           0.0,
     672             :                                           0,
     673             :                                           0,
     674             :                                           0,
     675             :                                           0,
     676             :                                           0,
     677             :                                           0,
     678             :                                           0,
     679             :                                           0,
     680             :                                           0,
     681             :                                           0,
     682             :                                           0,
     683             :                                           0,
     684             :                                           0,
     685             :                                           0,
     686             :                                           0,
     687             :                                           0,
     688             :                                           0),
     689             :         PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::FuelOil1),
     690             :                                           false,
     691             :                                           1.05,
     692             :                                           0.0,
     693             :                                           0.0,
     694             :                                           0.0,
     695             :                                           0.0,
     696             :                                           0.0,
     697             :                                           0.0,
     698             :                                           0.0,
     699             :                                           0.0,
     700             :                                           0.0,
     701             :                                           0.0,
     702             :                                           0.0,
     703             :                                           0.0,
     704             :                                           0.0,
     705             :                                           0.0,
     706             :                                           0.0,
     707             :                                           0.0,
     708             :                                           0,
     709             :                                           0,
     710             :                                           0,
     711             :                                           0,
     712             :                                           0,
     713             :                                           0,
     714             :                                           0,
     715             :                                           0,
     716             :                                           0,
     717             :                                           0,
     718             :                                           0,
     719             :                                           0,
     720             :                                           0,
     721             :                                           0,
     722             :                                           0,
     723             :                                           0,
     724             :                                           0),
     725             :         PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::FuelOil2),
     726             :                                           false,
     727             :                                           1.05,
     728             :                                           0.0,
     729             :                                           0.0,
     730             :                                           0.0,
     731             :                                           0.0,
     732             :                                           0.0,
     733             :                                           0.0,
     734             :                                           0.0,
     735             :                                           0.0,
     736             :                                           0.0,
     737             :                                           0.0,
     738             :                                           0.0,
     739             :                                           0.0,
     740             :                                           0.0,
     741             :                                           0.0,
     742             :                                           0.0,
     743             :                                           0.0,
     744             :                                           0,
     745             :                                           0,
     746             :                                           0,
     747             :                                           0,
     748             :                                           0,
     749             :                                           0,
     750             :                                           0,
     751             :                                           0,
     752             :                                           0,
     753             :                                           0,
     754             :                                           0,
     755             :                                           0,
     756             :                                           0,
     757             :                                           0,
     758             :                                           0,
     759             :                                           0,
     760             :                                           0),
     761             :         PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::Coal),
     762             :                                           false,
     763             :                                           1.05,
     764             :                                           0.0,
     765             :                                           0.0,
     766             :                                           0.0,
     767             :                                           0.0,
     768             :                                           0.0,
     769             :                                           0.0,
     770             :                                           0.0,
     771             :                                           0.0,
     772             :                                           0.0,
     773             :                                           0.0,
     774             :                                           0.0,
     775             :                                           0.0,
     776             :                                           0.0,
     777             :                                           0.0,
     778             :                                           0.0,
     779             :                                           0.0,
     780             :                                           0,
     781             :                                           0,
     782             :                                           0,
     783             :                                           0,
     784             :                                           0,
     785             :                                           0,
     786             :                                           0,
     787             :                                           0,
     788             :                                           0,
     789             :                                           0,
     790             :                                           0,
     791             :                                           0,
     792             :                                           0,
     793             :                                           0,
     794             :                                           0,
     795             :                                           0,
     796             :                                           0),
     797             :         PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::Gasoline),
     798             :                                           false,
     799             :                                           1.05,
     800             :                                           0.0,
     801             :                                           0.0,
     802             :                                           0.0,
     803             :                                           0.0,
     804             :                                           0.0,
     805             :                                           0.0,
     806             :                                           0.0,
     807             :                                           0.0,
     808             :                                           0.0,
     809             :                                           0.0,
     810             :                                           0.0,
     811             :                                           0.0,
     812             :                                           0.0,
     813             :                                           0.0,
     814             :                                           0.0,
     815             :                                           0.0,
     816             :                                           0,
     817             :                                           0,
     818             :                                           0,
     819             :                                           0,
     820             :                                           0,
     821             :                                           0,
     822             :                                           0,
     823             :                                           0,
     824             :                                           0,
     825             :                                           0,
     826             :                                           0,
     827             :                                           0,
     828             :                                           0,
     829             :                                           0,
     830             :                                           0,
     831             :                                           0,
     832             :                                           0),
     833             :         PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::Propane),
     834             :                                           false,
     835             :                                           1.05,
     836             :                                           0.0,
     837             :                                           0.0,
     838             :                                           0.0,
     839             :                                           0.0,
     840             :                                           0.0,
     841             :                                           0.0,
     842             :                                           0.0,
     843             :                                           0.0,
     844             :                                           0.0,
     845             :                                           0.0,
     846             :                                           0.0,
     847             :                                           0.0,
     848             :                                           0.0,
     849             :                                           0.0,
     850             :                                           0.0,
     851             :                                           0.0,
     852             :                                           0,
     853             :                                           0,
     854             :                                           0,
     855             :                                           0,
     856             :                                           0,
     857             :                                           0,
     858             :                                           0,
     859             :                                           0,
     860             :                                           0,
     861             :                                           0,
     862             :                                           0,
     863             :                                           0,
     864             :                                           0,
     865             :                                           0,
     866             :                                           0,
     867             :                                           0,
     868             :                                           0),
     869             :         PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::Diesel),
     870             :                                           false,
     871             :                                           1.05,
     872             :                                           0.0,
     873             :                                           0.0,
     874             :                                           0.0,
     875             :                                           0.0,
     876             :                                           0.0,
     877             :                                           0.0,
     878             :                                           0.0,
     879             :                                           0.0,
     880             :                                           0.0,
     881             :                                           0.0,
     882             :                                           0.0,
     883             :                                           0.0,
     884             :                                           0.0,
     885             :                                           0.0,
     886             :                                           0.0,
     887             :                                           0.0,
     888             :                                           0,
     889             :                                           0,
     890             :                                           0,
     891             :                                           0,
     892             :                                           0,
     893             :                                           0,
     894             :                                           0,
     895             :                                           0,
     896             :                                           0,
     897             :                                           0,
     898             :                                           0,
     899             :                                           0,
     900             :                                           0,
     901             :                                           0,
     902             :                                           0,
     903             :                                           0,
     904             :                                           0),
     905             :         PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::OtherFuel1),
     906             :                                           false,
     907             :                                           1.0,
     908             :                                           0.0,
     909             :                                           0.0,
     910             :                                           0.0,
     911             :                                           0.0,
     912             :                                           0.0,
     913             :                                           0.0,
     914             :                                           0.0,
     915             :                                           0.0,
     916             :                                           0.0,
     917             :                                           0.0,
     918             :                                           0.0,
     919             :                                           0.0,
     920             :                                           0.0,
     921             :                                           0.0,
     922             :                                           0.0,
     923             :                                           0.0,
     924             :                                           0,
     925             :                                           0,
     926             :                                           0,
     927             :                                           0,
     928             :                                           0,
     929             :                                           0,
     930             :                                           0,
     931             :                                           0,
     932             :                                           0,
     933             :                                           0,
     934             :                                           0,
     935             :                                           0,
     936             :                                           0,
     937             :                                           0,
     938             :                                           0,
     939             :                                           0,
     940             :                                           0),
     941             :         PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::OtherFuel2),
     942             :                                           false,
     943             :                                           1.0,
     944             :                                           0.0,
     945             :                                           0.0,
     946             :                                           0.0,
     947             :                                           0.0,
     948             :                                           0.0,
     949             :                                           0.0,
     950             :                                           0.0,
     951             :                                           0.0,
     952             :                                           0.0,
     953             :                                           0.0,
     954             :                                           0.0,
     955             :                                           0.0,
     956             :                                           0.0,
     957             :                                           0.0,
     958             :                                           0.0,
     959             :                                           0.0,
     960             :                                           0,
     961             :                                           0,
     962             :                                           0,
     963             :                                           0,
     964             :                                           0,
     965             :                                           0,
     966             :                                           0,
     967             :                                           0,
     968             :                                           0,
     969             :                                           0,
     970             :                                           0,
     971             :                                           0,
     972             :                                           0,
     973             :                                           0,
     974             :                                           0,
     975             :                                           0,
     976             :                                           0),
     977             :         0.0,
     978             :         0.0,
     979             :         0.0,
     980             :         0.0,
     981             :         0.0,
     982             :         0.0};
     983             :     PollutionModule::FuelTypeProps FuelType;
     984             : 
     985           0 :     void clear_state() override
     986             :     {
     987           0 :         this->PollutionReportSetup = false;
     988           0 :         this->GetInputFlagPollution = true;
     989           0 :         this->NumEnvImpactFactors = 0;
     990           0 :         this->NumFuelFactors = 0;
     991           0 :         this->Pollution = {PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::Elec),
     992             :                                                            0.0,
     993             :                                                            0.0,
     994             :                                                            0.0,
     995             :                                                            0.0,
     996             :                                                            0.0,
     997             :                                                            0.0,
     998             :                                                            0.0,
     999             :                                                            0.0,
    1000             :                                                            0.0,
    1001             :                                                            0.0,
    1002             :                                                            0.0,
    1003             :                                                            0.0,
    1004             :                                                            0.0,
    1005             :                                                            0.0,
    1006             :                                                            0.0,
    1007             :                                                            0.0,
    1008             :                                                            0.0),
    1009           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::Elec),
    1010             :                                                            0.0,
    1011             :                                                            0.0,
    1012             :                                                            0.0,
    1013             :                                                            0.0,
    1014             :                                                            0.0,
    1015             :                                                            0.0,
    1016             :                                                            0.0,
    1017             :                                                            0.0,
    1018             :                                                            0.0,
    1019             :                                                            0.0,
    1020             :                                                            0.0,
    1021             :                                                            0.0,
    1022             :                                                            0.0,
    1023             :                                                            0.0,
    1024             :                                                            0.0,
    1025             :                                                            0.0,
    1026             :                                                            0.0),
    1027           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::Elec),
    1028             :                                                            0.0,
    1029             :                                                            0.0,
    1030             :                                                            0.0,
    1031             :                                                            0.0,
    1032             :                                                            0.0,
    1033             :                                                            0.0,
    1034             :                                                            0.0,
    1035             :                                                            0.0,
    1036             :                                                            0.0,
    1037             :                                                            0.0,
    1038             :                                                            0.0,
    1039             :                                                            0.0,
    1040             :                                                            0.0,
    1041             :                                                            0.0,
    1042             :                                                            0.0,
    1043             :                                                            0.0,
    1044             :                                                            0.0),
    1045           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::NatGas),
    1046             :                                                            0.0,
    1047             :                                                            0.0,
    1048             :                                                            0.0,
    1049             :                                                            0.0,
    1050             :                                                            0.0,
    1051             :                                                            0.0,
    1052             :                                                            0.0,
    1053             :                                                            0.0,
    1054             :                                                            0.0,
    1055             :                                                            0.0,
    1056             :                                                            0.0,
    1057             :                                                            0.0,
    1058             :                                                            0.0,
    1059             :                                                            0.0,
    1060             :                                                            0.0,
    1061             :                                                            0.0,
    1062             :                                                            0.0),
    1063           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::FuelOil1),
    1064             :                                                            0.0,
    1065             :                                                            0.0,
    1066             :                                                            0.0,
    1067             :                                                            0.0,
    1068             :                                                            0.0,
    1069             :                                                            0.0,
    1070             :                                                            0.0,
    1071             :                                                            0.0,
    1072             :                                                            0.0,
    1073             :                                                            0.0,
    1074             :                                                            0.0,
    1075             :                                                            0.0,
    1076             :                                                            0.0,
    1077             :                                                            0.0,
    1078             :                                                            0.0,
    1079             :                                                            0.0,
    1080             :                                                            0.0),
    1081           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::FuelOil2),
    1082             :                                                            0.0,
    1083             :                                                            0.0,
    1084             :                                                            0.0,
    1085             :                                                            0.0,
    1086             :                                                            0.0,
    1087             :                                                            0.0,
    1088             :                                                            0.0,
    1089             :                                                            0.0,
    1090             :                                                            0.0,
    1091             :                                                            0.0,
    1092             :                                                            0.0,
    1093             :                                                            0.0,
    1094             :                                                            0.0,
    1095             :                                                            0.0,
    1096             :                                                            0.0,
    1097             :                                                            0.0,
    1098             :                                                            0.0),
    1099           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::Coal),
    1100             :                                                            0.0,
    1101             :                                                            0.0,
    1102             :                                                            0.0,
    1103             :                                                            0.0,
    1104             :                                                            0.0,
    1105             :                                                            0.0,
    1106             :                                                            0.0,
    1107             :                                                            0.0,
    1108             :                                                            0.0,
    1109             :                                                            0.0,
    1110             :                                                            0.0,
    1111             :                                                            0.0,
    1112             :                                                            0.0,
    1113             :                                                            0.0,
    1114             :                                                            0.0,
    1115             :                                                            0.0,
    1116             :                                                            0.0),
    1117           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::Gasoline),
    1118             :                                                            0.0,
    1119             :                                                            0.0,
    1120             :                                                            0.0,
    1121             :                                                            0.0,
    1122             :                                                            0.0,
    1123             :                                                            0.0,
    1124             :                                                            0.0,
    1125             :                                                            0.0,
    1126             :                                                            0.0,
    1127             :                                                            0.0,
    1128             :                                                            0.0,
    1129             :                                                            0.0,
    1130             :                                                            0.0,
    1131             :                                                            0.0,
    1132             :                                                            0.0,
    1133             :                                                            0.0,
    1134             :                                                            0.0),
    1135           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::Propane),
    1136             :                                                            0.0,
    1137             :                                                            0.0,
    1138             :                                                            0.0,
    1139             :                                                            0.0,
    1140             :                                                            0.0,
    1141             :                                                            0.0,
    1142             :                                                            0.0,
    1143             :                                                            0.0,
    1144             :                                                            0.0,
    1145             :                                                            0.0,
    1146             :                                                            0.0,
    1147             :                                                            0.0,
    1148             :                                                            0.0,
    1149             :                                                            0.0,
    1150             :                                                            0.0,
    1151             :                                                            0.0,
    1152             :                                                            0.0),
    1153           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::Diesel),
    1154             :                                                            0.0,
    1155             :                                                            0.0,
    1156             :                                                            0.0,
    1157             :                                                            0.0,
    1158             :                                                            0.0,
    1159             :                                                            0.0,
    1160             :                                                            0.0,
    1161             :                                                            0.0,
    1162             :                                                            0.0,
    1163             :                                                            0.0,
    1164             :                                                            0.0,
    1165             :                                                            0.0,
    1166             :                                                            0.0,
    1167             :                                                            0.0,
    1168             :                                                            0.0,
    1169             :                                                            0.0,
    1170             :                                                            0.0),
    1171           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::OtherFuel1),
    1172             :                                                            0.0,
    1173             :                                                            0.0,
    1174             :                                                            0.0,
    1175             :                                                            0.0,
    1176             :                                                            0.0,
    1177             :                                                            0.0,
    1178             :                                                            0.0,
    1179             :                                                            0.0,
    1180             :                                                            0.0,
    1181             :                                                            0.0,
    1182             :                                                            0.0,
    1183             :                                                            0.0,
    1184             :                                                            0.0,
    1185             :                                                            0.0,
    1186             :                                                            0.0,
    1187             :                                                            0.0,
    1188             :                                                            0.0),
    1189           0 :                            PollutionModule::ComponentProps(static_cast<int>(PollutionModule::PollFactor::OtherFuel2),
    1190             :                                                            0.0,
    1191             :                                                            0.0,
    1192             :                                                            0.0,
    1193             :                                                            0.0,
    1194             :                                                            0.0,
    1195             :                                                            0.0,
    1196             :                                                            0.0,
    1197             :                                                            0.0,
    1198             :                                                            0.0,
    1199             :                                                            0.0,
    1200             :                                                            0.0,
    1201             :                                                            0.0,
    1202             :                                                            0.0,
    1203             :                                                            0.0,
    1204             :                                                            0.0,
    1205             :                                                            0.0,
    1206             :                                                            0.0),
    1207             :                            0.0,
    1208             :                            0.0,
    1209             :                            0.0,
    1210             :                            0.0,
    1211             :                            0.0,
    1212             :                            0.0,
    1213           0 :                            PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::Elec),
    1214             :                                                              false,
    1215             :                                                              3.167,
    1216             :                                                              0.0,
    1217             :                                                              0.0,
    1218             :                                                              0.0,
    1219             :                                                              0.0,
    1220             :                                                              0.0,
    1221             :                                                              0.0,
    1222             :                                                              0.0,
    1223             :                                                              0.0,
    1224             :                                                              0.0,
    1225             :                                                              0.0,
    1226             :                                                              0.0,
    1227             :                                                              0.0,
    1228             :                                                              0.0,
    1229             :                                                              0.0,
    1230             :                                                              0.0,
    1231             :                                                              0.0,
    1232             :                                                              0,
    1233             :                                                              0,
    1234             :                                                              0,
    1235             :                                                              0,
    1236             :                                                              0,
    1237             :                                                              0,
    1238             :                                                              0,
    1239             :                                                              0,
    1240             :                                                              0,
    1241             :                                                              0,
    1242             :                                                              0,
    1243             :                                                              0,
    1244             :                                                              0,
    1245             :                                                              0,
    1246             :                                                              0,
    1247             :                                                              0,
    1248             :                                                              0),
    1249           0 :                            PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::NatGas),
    1250             :                                                              false,
    1251             :                                                              1.084,
    1252             :                                                              0.0,
    1253             :                                                              0.0,
    1254             :                                                              0.0,
    1255             :                                                              0.0,
    1256             :                                                              0.0,
    1257             :                                                              0.0,
    1258             :                                                              0.0,
    1259             :                                                              0.0,
    1260             :                                                              0.0,
    1261             :                                                              0.0,
    1262             :                                                              0.0,
    1263             :                                                              0.0,
    1264             :                                                              0.0,
    1265             :                                                              0.0,
    1266             :                                                              0.0,
    1267             :                                                              0.0,
    1268             :                                                              0,
    1269             :                                                              0,
    1270             :                                                              0,
    1271             :                                                              0,
    1272             :                                                              0,
    1273             :                                                              0,
    1274             :                                                              0,
    1275             :                                                              0,
    1276             :                                                              0,
    1277             :                                                              0,
    1278             :                                                              0,
    1279             :                                                              0,
    1280             :                                                              0,
    1281             :                                                              0,
    1282             :                                                              0,
    1283             :                                                              0,
    1284             :                                                              0),
    1285           0 :                            PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::FuelOil1),
    1286             :                                                              false,
    1287             :                                                              1.05,
    1288             :                                                              0.0,
    1289             :                                                              0.0,
    1290             :                                                              0.0,
    1291             :                                                              0.0,
    1292             :                                                              0.0,
    1293             :                                                              0.0,
    1294             :                                                              0.0,
    1295             :                                                              0.0,
    1296             :                                                              0.0,
    1297             :                                                              0.0,
    1298             :                                                              0.0,
    1299             :                                                              0.0,
    1300             :                                                              0.0,
    1301             :                                                              0.0,
    1302             :                                                              0.0,
    1303             :                                                              0.0,
    1304             :                                                              0,
    1305             :                                                              0,
    1306             :                                                              0,
    1307             :                                                              0,
    1308             :                                                              0,
    1309             :                                                              0,
    1310             :                                                              0,
    1311             :                                                              0,
    1312             :                                                              0,
    1313             :                                                              0,
    1314             :                                                              0,
    1315             :                                                              0,
    1316             :                                                              0,
    1317             :                                                              0,
    1318             :                                                              0,
    1319             :                                                              0,
    1320             :                                                              0),
    1321           0 :                            PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::FuelOil2),
    1322             :                                                              false,
    1323             :                                                              1.05,
    1324             :                                                              0.0,
    1325             :                                                              0.0,
    1326             :                                                              0.0,
    1327             :                                                              0.0,
    1328             :                                                              0.0,
    1329             :                                                              0.0,
    1330             :                                                              0.0,
    1331             :                                                              0.0,
    1332             :                                                              0.0,
    1333             :                                                              0.0,
    1334             :                                                              0.0,
    1335             :                                                              0.0,
    1336             :                                                              0.0,
    1337             :                                                              0.0,
    1338             :                                                              0.0,
    1339             :                                                              0.0,
    1340             :                                                              0,
    1341             :                                                              0,
    1342             :                                                              0,
    1343             :                                                              0,
    1344             :                                                              0,
    1345             :                                                              0,
    1346             :                                                              0,
    1347             :                                                              0,
    1348             :                                                              0,
    1349             :                                                              0,
    1350             :                                                              0,
    1351             :                                                              0,
    1352             :                                                              0,
    1353             :                                                              0,
    1354             :                                                              0,
    1355             :                                                              0,
    1356             :                                                              0),
    1357           0 :                            PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::Coal),
    1358             :                                                              false,
    1359             :                                                              1.05,
    1360             :                                                              0.0,
    1361             :                                                              0.0,
    1362             :                                                              0.0,
    1363             :                                                              0.0,
    1364             :                                                              0.0,
    1365             :                                                              0.0,
    1366             :                                                              0.0,
    1367             :                                                              0.0,
    1368             :                                                              0.0,
    1369             :                                                              0.0,
    1370             :                                                              0.0,
    1371             :                                                              0.0,
    1372             :                                                              0.0,
    1373             :                                                              0.0,
    1374             :                                                              0.0,
    1375             :                                                              0.0,
    1376             :                                                              0,
    1377             :                                                              0,
    1378             :                                                              0,
    1379             :                                                              0,
    1380             :                                                              0,
    1381             :                                                              0,
    1382             :                                                              0,
    1383             :                                                              0,
    1384             :                                                              0,
    1385             :                                                              0,
    1386             :                                                              0,
    1387             :                                                              0,
    1388             :                                                              0,
    1389             :                                                              0,
    1390             :                                                              0,
    1391             :                                                              0,
    1392             :                                                              0),
    1393           0 :                            PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::Gasoline),
    1394             :                                                              false,
    1395             :                                                              1.05,
    1396             :                                                              0.0,
    1397             :                                                              0.0,
    1398             :                                                              0.0,
    1399             :                                                              0.0,
    1400             :                                                              0.0,
    1401             :                                                              0.0,
    1402             :                                                              0.0,
    1403             :                                                              0.0,
    1404             :                                                              0.0,
    1405             :                                                              0.0,
    1406             :                                                              0.0,
    1407             :                                                              0.0,
    1408             :                                                              0.0,
    1409             :                                                              0.0,
    1410             :                                                              0.0,
    1411             :                                                              0.0,
    1412             :                                                              0,
    1413             :                                                              0,
    1414             :                                                              0,
    1415             :                                                              0,
    1416             :                                                              0,
    1417             :                                                              0,
    1418             :                                                              0,
    1419             :                                                              0,
    1420             :                                                              0,
    1421             :                                                              0,
    1422             :                                                              0,
    1423             :                                                              0,
    1424             :                                                              0,
    1425             :                                                              0,
    1426             :                                                              0,
    1427             :                                                              0,
    1428             :                                                              0),
    1429           0 :                            PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::Propane),
    1430             :                                                              false,
    1431             :                                                              1.05,
    1432             :                                                              0.0,
    1433             :                                                              0.0,
    1434             :                                                              0.0,
    1435             :                                                              0.0,
    1436             :                                                              0.0,
    1437             :                                                              0.0,
    1438             :                                                              0.0,
    1439             :                                                              0.0,
    1440             :                                                              0.0,
    1441             :                                                              0.0,
    1442             :                                                              0.0,
    1443             :                                                              0.0,
    1444             :                                                              0.0,
    1445             :                                                              0.0,
    1446             :                                                              0.0,
    1447             :                                                              0.0,
    1448             :                                                              0,
    1449             :                                                              0,
    1450             :                                                              0,
    1451             :                                                              0,
    1452             :                                                              0,
    1453             :                                                              0,
    1454             :                                                              0,
    1455             :                                                              0,
    1456             :                                                              0,
    1457             :                                                              0,
    1458             :                                                              0,
    1459             :                                                              0,
    1460             :                                                              0,
    1461             :                                                              0,
    1462             :                                                              0,
    1463             :                                                              0,
    1464             :                                                              0),
    1465           0 :                            PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::Diesel),
    1466             :                                                              false,
    1467             :                                                              1.05,
    1468             :                                                              0.0,
    1469             :                                                              0.0,
    1470             :                                                              0.0,
    1471             :                                                              0.0,
    1472             :                                                              0.0,
    1473             :                                                              0.0,
    1474             :                                                              0.0,
    1475             :                                                              0.0,
    1476             :                                                              0.0,
    1477             :                                                              0.0,
    1478             :                                                              0.0,
    1479             :                                                              0.0,
    1480             :                                                              0.0,
    1481             :                                                              0.0,
    1482             :                                                              0.0,
    1483             :                                                              0.0,
    1484             :                                                              0,
    1485             :                                                              0,
    1486             :                                                              0,
    1487             :                                                              0,
    1488             :                                                              0,
    1489             :                                                              0,
    1490             :                                                              0,
    1491             :                                                              0,
    1492             :                                                              0,
    1493             :                                                              0,
    1494             :                                                              0,
    1495             :                                                              0,
    1496             :                                                              0,
    1497             :                                                              0,
    1498             :                                                              0,
    1499             :                                                              0,
    1500             :                                                              0),
    1501           0 :                            PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::OtherFuel1),
    1502             :                                                              false,
    1503             :                                                              1.0,
    1504             :                                                              0.0,
    1505             :                                                              0.0,
    1506             :                                                              0.0,
    1507             :                                                              0.0,
    1508             :                                                              0.0,
    1509             :                                                              0.0,
    1510             :                                                              0.0,
    1511             :                                                              0.0,
    1512             :                                                              0.0,
    1513             :                                                              0.0,
    1514             :                                                              0.0,
    1515             :                                                              0.0,
    1516             :                                                              0.0,
    1517             :                                                              0.0,
    1518             :                                                              0.0,
    1519             :                                                              0.0,
    1520             :                                                              0,
    1521             :                                                              0,
    1522             :                                                              0,
    1523             :                                                              0,
    1524             :                                                              0,
    1525             :                                                              0,
    1526             :                                                              0,
    1527             :                                                              0,
    1528             :                                                              0,
    1529             :                                                              0,
    1530             :                                                              0,
    1531             :                                                              0,
    1532             :                                                              0,
    1533             :                                                              0,
    1534             :                                                              0,
    1535             :                                                              0,
    1536             :                                                              0),
    1537           0 :                            PollutionModule::CoefficientProps(static_cast<int>(PollutionModule::PollFactor::OtherFuel2),
    1538             :                                                              false,
    1539             :                                                              1.0,
    1540             :                                                              0.0,
    1541             :                                                              0.0,
    1542             :                                                              0.0,
    1543             :                                                              0.0,
    1544             :                                                              0.0,
    1545             :                                                              0.0,
    1546             :                                                              0.0,
    1547             :                                                              0.0,
    1548             :                                                              0.0,
    1549             :                                                              0.0,
    1550             :                                                              0.0,
    1551             :                                                              0.0,
    1552             :                                                              0.0,
    1553             :                                                              0.0,
    1554             :                                                              0.0,
    1555             :                                                              0.0,
    1556             :                                                              0,
    1557             :                                                              0,
    1558             :                                                              0,
    1559             :                                                              0,
    1560             :                                                              0,
    1561             :                                                              0,
    1562             :                                                              0,
    1563             :                                                              0,
    1564             :                                                              0,
    1565             :                                                              0,
    1566             :                                                              0,
    1567             :                                                              0,
    1568             :                                                              0,
    1569             :                                                              0,
    1570             :                                                              0,
    1571             :                                                              0,
    1572             :                                                              0),
    1573             :                            0.0,
    1574             :                            0.0,
    1575             :                            0.0,
    1576             :                            0.0,
    1577             :                            0.0,
    1578             :                            0.0};
    1579           0 :         this->FuelType = {};
    1580           0 :     }
    1581             : };
    1582             : 
    1583             : } // namespace EnergyPlus
    1584             : 
    1585             : #endif

Generated by: LCOV version 1.13