From 9dee65f4c206eaa15adae780092f7e33f48d71d7 Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Mon, 30 Oct 2023 18:44:08 +0100 Subject: [PATCH] Naive try at fixing incorrect ExpandObjects warning An extra field was added for Boiler:HotWater in #9925 ```shell $ /Applications/EnergyPlus-23-2-0/energyplus -D -d out -x /Applications/EnergyPlus-23-2-0/ExampleFiles/VAVSingleDuctConstFlowBoiler.idf $ cat out/eplusout.experr ExpandObjects: SEVERE: Too many fields were found for the object: Boiler:HotWater, Number expected=[17], Number found=[18] ` `` --- src/ExpandObjects/epfilter.f90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ExpandObjects/epfilter.f90 b/src/ExpandObjects/epfilter.f90 index 65c72b40900..0b92a36e16f 100644 --- a/src/ExpandObjects/epfilter.f90 +++ b/src/ExpandObjects/epfilter.f90 @@ -1507,7 +1507,7 @@ PROGRAM epfilter INTEGER,PARAMETER :: blrhwNameOff = 1 INTEGER,PARAMETER :: blrhwInletNodeOff = 11 INTEGER,PARAMETER :: blrhwOutletNodeOff = 12 -INTEGER,PARAMETER :: blrhwLastFieldOff = 17 +INTEGER,PARAMETER :: blrhwLastFieldOff = 18 ! Chiller:Electric:EIR (for use with HVACTemplate:Plant:Chiller:ObjectReference) INTEGER,PARAMETER :: chleirNameOff = 1 @@ -2305,7 +2305,7 @@ SUBROUTINE SetUpObjectsToProcess(doGatherSurfaces) CALL AddObjToProcess('HVACTemplate:Plant:MixedWaterLoop',.TRUE., mwpNameOff, mwpLdDistSchmOff, 17) CALL AddObjToProcess('HVACTemplate:System:DedicatedOutdoorAir',.TRUE.,doasNameOff, doasHumidSetPtSchedNameOff, 46) ! Detailed Plant Objects -CALL AddObjToProcess('Boiler:HotWater',.FALSE., blrhwOutletNodeOff, blrhwLastFieldOff, 17) +CALL AddObjToProcess('Boiler:HotWater',.FALSE., blrhwOutletNodeOff, blrhwLastFieldOff, 18) CALL AddObjToProcess('Chiller:Electric:EIR',.FALSE., chleirCondTypeOff, chleirLastFieldOff, 30) CALL AddObjToProcess('Chiller:Electric:ReformulatedEIR',.FALSE., chlreirCondOutletNodeOff, chlreirLastFieldOff, 26) CALL AddObjToProcess('CoolingTower:SingleSpeed',.FALSE., twrssOutletNodeOff, twrssLastFieldOff, 29)