LCOV - code coverage report
Current view: top level - EnergyPlus/Autosizing - HeatingAirFlowSizing.cc (source / functions) Hit Total Coverage
Test: lcov.output.filtered Lines: 63 188 33.5 %
Date: 2024-08-23 23:50:59 Functions: 1 2 50.0 %

          Line data    Source code
       1             : // EnergyPlus, Copyright (c) 1996-2024, The Board of Trustees of the University of Illinois,
       2             : // The Regents of the University of California, through Lawrence Berkeley National Laboratory
       3             : // (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge
       4             : // National Laboratory, managed by UT-Battelle, Alliance for Sustainable Energy, LLC, and other
       5             : // contributors. All rights reserved.
       6             : //
       7             : // NOTICE: This Software was developed under funding from the U.S. Department of Energy and the
       8             : // U.S. Government consequently retains certain rights. As such, the U.S. Government has been
       9             : // granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable,
      10             : // worldwide license in the Software to reproduce, distribute copies to the public, prepare
      11             : // derivative works, and perform publicly and display publicly, and to permit others to do so.
      12             : //
      13             : // Redistribution and use in source and binary forms, with or without modification, are permitted
      14             : // provided that the following conditions are met:
      15             : //
      16             : // (1) Redistributions of source code must retain the above copyright notice, this list of
      17             : //     conditions and the following disclaimer.
      18             : //
      19             : // (2) Redistributions in binary form must reproduce the above copyright notice, this list of
      20             : //     conditions and the following disclaimer in the documentation and/or other materials
      21             : //     provided with the distribution.
      22             : //
      23             : // (3) Neither the name of the University of California, Lawrence Berkeley National Laboratory,
      24             : //     the University of Illinois, U.S. Dept. of Energy nor the names of its contributors may be
      25             : //     used to endorse or promote products derived from this software without specific prior
      26             : //     written permission.
      27             : //
      28             : // (4) Use of EnergyPlus(TM) Name. If Licensee (i) distributes the software in stand-alone form
      29             : //     without changes from the version obtained under this License, or (ii) Licensee makes a
      30             : //     reference solely to the software portion of its product, Licensee must refer to the
      31             : //     software as "EnergyPlus version X" software, where "X" is the version number Licensee
      32             : //     obtained under this License and may not use a different name for the software. Except as
      33             : //     specifically required in this Section (4), Licensee shall not use in a company name, a
      34             : //     product name, in advertising, publicity, or other promotional activities any name, trade
      35             : //     name, trademark, logo, or other designation of "EnergyPlus", "E+", "e+" or confusingly
      36             : //     similar designation, without the U.S. Department of Energy's prior written consent.
      37             : //
      38             : // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
      39             : // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
      40             : // AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
      41             : // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
      42             : // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
      43             : // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
      44             : // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
      45             : // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
      46             : // POSSIBILITY OF SUCH DAMAGE.
      47             : 
      48             : #include <EnergyPlus/Autosizing/HeatingAirFlowSizing.hh>
      49             : #include <EnergyPlus/Data/EnergyPlusData.hh>
      50             : #include <EnergyPlus/DataEnvironment.hh>
      51             : #include <EnergyPlus/DataHVACGlobals.hh>
      52             : #include <EnergyPlus/OutputReportPredefined.hh>
      53             : #include <EnergyPlus/UtilityRoutines.hh>
      54             : 
      55             : namespace EnergyPlus {
      56             : 
      57        3418 : Real64 HeatingAirFlowSizer::size(EnergyPlusData &state, Real64 _originalValue, bool &errorsFound)
      58             : {
      59        3418 :     if (!this->checkInitialized(state, errorsFound)) {
      60           0 :         return 0.0;
      61             :     }
      62        3418 :     this->preSize(state, _originalValue);
      63             : 
      64        3418 :     if (this->dataEMSOverrideON) {
      65           0 :         this->autoSizedValue = this->dataEMSOverride;
      66        3418 :     } else if (this->dataConstantUsedForSizing > 0 && this->dataFractionUsedForSizing > 0) {
      67          31 :         this->autoSizedValue = this->dataConstantUsedForSizing * this->dataFractionUsedForSizing;
      68             :     } else {
      69        3387 :         if (this->curZoneEqNum > 0) {
      70        2660 :             if (!this->wasAutoSized && !this->sizingDesRunThisZone) {
      71          12 :                 this->autoSizedValue = _originalValue;
      72        2648 :             } else if (this->zoneEqSizing(this->curZoneEqNum).DesignSizeFromParent) {
      73          80 :                 this->autoSizedValue = this->zoneEqSizing(this->curZoneEqNum).AirVolFlow;
      74             :             } else {
      75        2568 :                 switch (this->zoneEqSizing(this->curZoneEqNum).SizingMethod(HVAC::HeatingAirflowSizing)) {
      76           0 :                 case DataSizing::SupplyAirFlowRate:
      77             :                 case DataSizing::None:
      78             :                 case DataSizing::FlowPerFloorArea: {
      79           0 :                     if (this->zoneEqSizing(this->curZoneEqNum).SystemAirFlow) {
      80           0 :                         this->autoSizedValue = max(this->zoneEqSizing(this->curZoneEqNum).AirVolFlow,
      81           0 :                                                    this->zoneEqSizing(this->curZoneEqNum).CoolingAirVolFlow,
      82           0 :                                                    this->zoneEqSizing(this->curZoneEqNum).HeatingAirVolFlow);
      83             :                     } else {
      84           0 :                         if (state.dataSize->ZoneCoolingOnlyFan) {
      85           0 :                             this->autoSizedValue = this->finalZoneSizing(this->curZoneEqNum).DesCoolVolFlow;
      86           0 :                         } else if (state.dataSize->ZoneHeatingOnlyFan) {
      87           0 :                             this->autoSizedValue = this->finalZoneSizing(this->curZoneEqNum).DesHeatVolFlow;
      88           0 :                         } else if (this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow && !this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow) {
      89           0 :                             this->autoSizedValue = this->zoneEqSizing(this->curZoneEqNum).CoolingAirVolFlow;
      90           0 :                         } else if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow && !this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow) {
      91           0 :                             this->autoSizedValue = this->zoneEqSizing(this->curZoneEqNum).HeatingAirVolFlow;
      92           0 :                         } else if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow && this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow) {
      93           0 :                             this->autoSizedValue = max(this->zoneEqSizing(this->curZoneEqNum).CoolingAirVolFlow,
      94           0 :                                                        this->zoneEqSizing(this->curZoneEqNum).HeatingAirVolFlow);
      95             :                         } else {
      96           0 :                             this->autoSizedValue = max(this->finalZoneSizing(this->curZoneEqNum).DesCoolVolFlow,
      97           0 :                                                        this->finalZoneSizing(this->curZoneEqNum).DesHeatVolFlow);
      98             :                         }
      99             :                     }
     100           0 :                 } break;
     101           0 :                 case DataSizing::FractionOfAutosizedCoolingAirflow: {
     102           0 :                     if (state.dataSize->ZoneCoolingOnlyFan) {
     103           0 :                         this->autoSizedValue = this->dataFracOfAutosizedCoolingAirflow * this->finalZoneSizing(this->curZoneEqNum).DesCoolVolFlow;
     104           0 :                     } else if (state.dataSize->ZoneHeatingOnlyFan) {
     105           0 :                         this->autoSizedValue = this->dataFracOfAutosizedHeatingAirflow * this->finalZoneSizing(this->curZoneEqNum).DesHeatVolFlow;
     106           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow && !this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow) {
     107           0 :                         this->autoSizedValue = this->dataFracOfAutosizedCoolingAirflow * this->zoneEqSizing(this->curZoneEqNum).CoolingAirVolFlow;
     108           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow && !this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow) {
     109           0 :                         this->autoSizedValue = this->dataFracOfAutosizedHeatingAirflow * this->zoneEqSizing(this->curZoneEqNum).HeatingAirVolFlow;
     110           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow && this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow) {
     111           0 :                         this->autoSizedValue =
     112           0 :                             max(this->dataFracOfAutosizedCoolingAirflow * this->zoneEqSizing(this->curZoneEqNum).CoolingAirVolFlow,
     113           0 :                                 this->dataFracOfAutosizedHeatingAirflow * this->zoneEqSizing(this->curZoneEqNum).HeatingAirVolFlow);
     114             :                     } else {
     115           0 :                         this->autoSizedValue =
     116           0 :                             max(this->dataFracOfAutosizedCoolingAirflow * this->finalZoneSizing(this->curZoneEqNum).DesCoolVolFlow,
     117           0 :                                 this->dataFracOfAutosizedHeatingAirflow * this->finalZoneSizing(this->curZoneEqNum).DesHeatVolFlow);
     118             :                     }
     119           0 :                 } break;
     120           0 :                 case DataSizing::FractionOfAutosizedHeatingAirflow: {
     121           0 :                     if (state.dataSize->ZoneCoolingOnlyFan) {
     122           0 :                         this->autoSizedValue = this->dataFracOfAutosizedCoolingAirflow * this->finalZoneSizing(this->curZoneEqNum).DesCoolVolFlow;
     123           0 :                     } else if (state.dataSize->ZoneHeatingOnlyFan) {
     124           0 :                         this->autoSizedValue = this->dataFracOfAutosizedHeatingAirflow * this->finalZoneSizing(this->curZoneEqNum).DesHeatVolFlow;
     125           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow && !this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow) {
     126           0 :                         this->autoSizedValue = this->dataFracOfAutosizedCoolingAirflow * this->zoneEqSizing(this->curZoneEqNum).CoolingAirVolFlow;
     127           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow && !this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow) {
     128           0 :                         this->autoSizedValue = this->dataFracOfAutosizedHeatingAirflow * this->zoneEqSizing(this->curZoneEqNum).HeatingAirVolFlow;
     129           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow && this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow) {
     130           0 :                         this->autoSizedValue =
     131           0 :                             max(this->dataFracOfAutosizedCoolingAirflow * this->zoneEqSizing(this->curZoneEqNum).CoolingAirVolFlow,
     132           0 :                                 this->dataFracOfAutosizedHeatingAirflow * this->zoneEqSizing(this->curZoneEqNum).HeatingAirVolFlow);
     133             :                     } else {
     134           0 :                         this->autoSizedValue =
     135           0 :                             max(this->dataFracOfAutosizedCoolingAirflow * this->finalZoneSizing(this->curZoneEqNum).DesCoolVolFlow,
     136           0 :                                 this->dataFracOfAutosizedHeatingAirflow * this->finalZoneSizing(this->curZoneEqNum).DesHeatVolFlow);
     137             :                     }
     138           0 :                 } break;
     139           0 :                 case DataSizing::FlowPerCoolingCapacity: {
     140           0 :                     if (state.dataSize->ZoneCoolingOnlyFan) {
     141           0 :                         this->autoSizedValue = this->dataFlowPerCoolingCapacity * this->dataAutosizedCoolingCapacity;
     142           0 :                     } else if (state.dataSize->ZoneHeatingOnlyFan) {
     143           0 :                         this->autoSizedValue = this->dataFlowPerHeatingCapacity * this->dataAutosizedHeatingCapacity;
     144           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow && !this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow) {
     145           0 :                         this->autoSizedValue = this->dataFlowPerCoolingCapacity * this->dataAutosizedCoolingCapacity;
     146           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow && !this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow) {
     147           0 :                         this->autoSizedValue = this->dataFlowPerHeatingCapacity * this->dataAutosizedHeatingCapacity;
     148           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow && this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow) {
     149           0 :                         this->autoSizedValue = max(this->dataFlowPerCoolingCapacity * this->dataAutosizedCoolingCapacity,
     150           0 :                                                    this->dataFlowPerHeatingCapacity * this->dataAutosizedHeatingCapacity);
     151             :                     } else {
     152           0 :                         this->autoSizedValue = max(this->dataFlowPerCoolingCapacity * this->dataAutosizedCoolingCapacity,
     153           0 :                                                    this->dataFlowPerHeatingCapacity * this->dataAutosizedHeatingCapacity);
     154             :                     }
     155           0 :                 } break;
     156           0 :                 case DataSizing::FlowPerHeatingCapacity: {
     157           0 :                     if (state.dataSize->ZoneCoolingOnlyFan) {
     158           0 :                         this->autoSizedValue = this->dataFlowPerCoolingCapacity * this->dataAutosizedCoolingCapacity;
     159           0 :                     } else if (state.dataSize->ZoneHeatingOnlyFan) {
     160           0 :                         this->autoSizedValue = this->dataFlowPerHeatingCapacity * this->dataAutosizedHeatingCapacity;
     161           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow && !this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow) {
     162           0 :                         this->autoSizedValue = this->dataFlowPerCoolingCapacity * this->dataAutosizedCoolingCapacity;
     163           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow && !this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow) {
     164           0 :                         this->autoSizedValue = this->dataFlowPerHeatingCapacity * this->dataAutosizedHeatingCapacity;
     165           0 :                     } else if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow && this->zoneEqSizing(this->curZoneEqNum).CoolingAirFlow) {
     166           0 :                         this->autoSizedValue = max(this->dataFlowPerCoolingCapacity * this->dataAutosizedCoolingCapacity,
     167           0 :                                                    this->dataFlowPerHeatingCapacity * this->dataAutosizedHeatingCapacity);
     168             :                     } else {
     169           0 :                         this->autoSizedValue = max(this->dataFlowPerCoolingCapacity * this->dataAutosizedCoolingCapacity,
     170           0 :                                                    this->dataFlowPerHeatingCapacity * this->dataAutosizedHeatingCapacity);
     171             :                     }
     172           0 :                 } break;
     173        2568 :                 default: {
     174        2568 :                     if (this->zoneEqSizing(this->curZoneEqNum).HeatingAirFlow) {
     175         249 :                         this->autoSizedValue = this->zoneEqSizing(this->curZoneEqNum).HeatingAirVolFlow;
     176        2319 :                     } else if (state.dataSize->ZoneCoolingOnlyFan) { // probably shouldn't be here
     177          16 :                         this->autoSizedValue = this->finalZoneSizing(this->curZoneEqNum).DesCoolVolFlow;
     178        2303 :                     } else if (this->termUnitIU && (this->curTermUnitSizingNum > 0)) {
     179           4 :                         this->autoSizedValue = this->termUnitSizing(this->curTermUnitSizingNum).AirVolFlow;
     180        2299 :                     } else if (this->zoneEqFanCoil) {
     181           0 :                         this->autoSizedValue = this->zoneEqSizing(this->curZoneEqNum).AirVolFlow;
     182        2299 :                     } else if (this->zoneHeatingOnlyFan) {
     183          74 :                         this->autoSizedValue = this->finalZoneSizing(this->curZoneEqNum).DesHeatVolFlow;
     184             :                     } else {
     185        2225 :                         this->autoSizedValue =
     186        2225 :                             max(this->finalZoneSizing(this->curZoneEqNum).DesCoolVolFlow, this->finalZoneSizing(this->curZoneEqNum).DesHeatVolFlow);
     187             :                     }
     188        2568 :                 } break;
     189             :                 }
     190             :             }
     191         727 :         } else if (this->curSysNum > 0) {
     192         727 :             if (!this->wasAutoSized && !this->sizingDesRunThisAirSys) {
     193          76 :                 this->autoSizedValue = _originalValue;
     194             :             } else {
     195         651 :                 if (this->curOASysNum > 0) {
     196          33 :                     if (this->oaSysEqSizing(this->curOASysNum).AirFlow) {
     197             :                         // Parent object sets system flow rate
     198           0 :                         this->autoSizedValue = this->oaSysEqSizing(this->curOASysNum).AirVolFlow;
     199          33 :                     } else if (this->oaSysEqSizing(this->curOASysNum).HeatingAirFlow) {
     200             :                         // Parent object sets heating flow rate
     201           1 :                         this->autoSizedValue = this->oaSysEqSizing(this->curOASysNum).HeatingAirVolFlow;
     202          32 :                     } else if (outsideAirSys(this->curOASysNum).AirLoopDOASNum > -1) {
     203           1 :                         this->autoSizedValue =
     204           1 :                             this->airloopDOAS[outsideAirSys(this->curOASysNum).AirLoopDOASNum].SizingMassFlow / state.dataEnvrn->StdRhoAir;
     205             :                     } else {
     206          31 :                         this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesOutAirVolFlow;
     207             :                     }
     208             :                 } else {
     209         618 :                     if (this->unitarySysEqSizing(this->curSysNum).AirFlow) {
     210          73 :                         this->autoSizedValue = this->unitarySysEqSizing(this->curSysNum).AirVolFlow;
     211         545 :                     } else if (this->unitarySysEqSizing(this->curSysNum).HeatingAirFlow) {
     212          73 :                         this->autoSizedValue = this->unitarySysEqSizing(this->curSysNum).HeatingAirVolFlow;
     213             :                     } else {
     214         472 :                         if (this->curDuctType == HVAC::AirDuctType::Main) {
     215         372 :                             if (Util::SameString(this->compType, "COIL:HEATING:WATER")) {
     216         356 :                                 if (this->finalSysSizing(this->curSysNum).SysAirMinFlowRat > 0.0 && !this->dataDesicRegCoil) {
     217         356 :                                     this->autoSizedValue =
     218         356 :                                         this->finalSysSizing(this->curSysNum).SysAirMinFlowRat * this->finalSysSizing(this->curSysNum).DesMainVolFlow;
     219             :                                 } else {
     220           0 :                                     this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesMainVolFlow;
     221             :                                 }
     222             :                             } else {
     223          16 :                                 this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesMainVolFlow;
     224             :                             }
     225         100 :                         } else if (this->curDuctType == HVAC::AirDuctType::Cooling) {
     226           0 :                             if (Util::SameString(this->compType, "COIL:HEATING:WATER")) {
     227           0 :                                 if (this->finalSysSizing(this->curSysNum).SysAirMinFlowRat > 0.0 && !this->dataDesicRegCoil) {
     228           0 :                                     this->autoSizedValue =
     229           0 :                                         this->finalSysSizing(this->curSysNum).SysAirMinFlowRat * this->finalSysSizing(this->curSysNum).DesCoolVolFlow;
     230             :                                 } else {
     231           0 :                                     this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesCoolVolFlow;
     232             :                                 }
     233             :                             } else {
     234           0 :                                 this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesCoolVolFlow;
     235             :                             }
     236         100 :                         } else if (this->curDuctType == HVAC::AirDuctType::Heating) {
     237         100 :                             this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesHeatVolFlow;
     238           0 :                         } else if (this->curDuctType == HVAC::AirDuctType::Other) {
     239           0 :                             this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesMainVolFlow;
     240             :                         } else {
     241           0 :                             this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesMainVolFlow;
     242             :                         }
     243             :                     }
     244             :                 }
     245             :             }
     246           0 :         } else if (this->dataNonZoneNonAirloopValue > 0) {
     247           0 :             this->autoSizedValue = this->dataNonZoneNonAirloopValue;
     248           0 :         } else if (!this->wasAutoSized) {
     249           0 :             this->autoSizedValue = this->originalValue;
     250             :         } else {
     251           0 :             std::string msg = this->callingRoutine + ' ' + this->compType + ' ' + this->compName + ", Developer Error: Component sizing incomplete.";
     252           0 :             ShowSevereError(state, msg);
     253           0 :             this->addErrorMessage(msg);
     254           0 :             msg = format("SizingString = {}, SizingResult = {:.1T}", this->sizingString, this->autoSizedValue);
     255           0 :             ShowContinueError(state, msg);
     256           0 :             this->addErrorMessage(msg);
     257           0 :             errorsFound = true;
     258           0 :         }
     259             :         // override sizing string
     260        3387 :         if (this->overrideSizeString) {
     261           0 :             if (this->isEpJSON) this->sizingString = "heating_supply_air_flow_rate [m3/s]";
     262             :         }
     263        3387 :         if (this->dataScalableSizingON) {
     264           2 :             if (this->zoneAirFlowSizMethod == DataSizing::SupplyAirFlowRate || this->zoneAirFlowSizMethod == DataSizing::None) {
     265           0 :                 this->sizingStringScalable = "(scaled by flow / zone) ";
     266           2 :             } else if (this->zoneAirFlowSizMethod == DataSizing::FlowPerFloorArea) {
     267           0 :                 this->sizingStringScalable = "(scaled by flow / area) ";
     268           2 :             } else if (this->zoneAirFlowSizMethod == DataSizing::FractionOfAutosizedCoolingAirflow ||
     269           2 :                        this->zoneAirFlowSizMethod == DataSizing::FractionOfAutosizedHeatingAirflow) {
     270           0 :                 this->sizingStringScalable = "(scaled by fractional multiplier) ";
     271           2 :             } else if (this->zoneAirFlowSizMethod == DataSizing::FlowPerCoolingCapacity ||
     272           2 :                        this->zoneAirFlowSizMethod == DataSizing::FlowPerHeatingCapacity) {
     273           0 :                 this->sizingStringScalable = "(scaled by flow / capacity) ";
     274             :             }
     275             :         }
     276             :     }
     277        3418 :     this->selectSizerOutput(state, errorsFound);
     278             : 
     279        3418 :     if (this->isCoilReportObject) {
     280             :         // SizingResult is airflow in m3/s
     281        2657 :         state.dataRptCoilSelection->coilSelectionReportObj->setCoilAirFlow(
     282        2657 :             state, this->compName, this->compType, this->autoSizedValue, this->wasAutoSized);
     283             :     }
     284        3418 :     if (this->isFanReportObject) {
     285             :         //  fill fan peak day and time here
     286           0 :         std::string DDNameFanPeak;
     287           0 :         std::string dateTimeFanPeak;
     288           0 :         if (this->dataScalableSizingON) {
     289           0 :             DDNameFanPeak = "Scaled size, not from any peak";
     290           0 :             dateTimeFanPeak = "Scaled size, not from any peak";
     291             :         }
     292           0 :         OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchFanDesDay, this->compName, DDNameFanPeak);
     293           0 :         OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchFanPkTime, this->compName, dateTimeFanPeak);
     294           0 :     }
     295        3418 :     return this->autoSizedValue;
     296             : }
     297             : 
     298           0 : void HeatingAirFlowSizer::clearState()
     299             : {
     300           0 :     BaseSizerWithScalableInputs::clearState();
     301           0 : }
     302             : 
     303             : } // namespace EnergyPlus

Generated by: LCOV version 1.14