EnergyPlus Crashes with Fan:VariableVolume or Fan:ConstantVolume
A bug report.
EnergyPlus V24-1-0, V24-2-0 and the latest V25-1-0 crash with Fan:VariableVolume or Fan:ConstantVolume at the exhaust air outlet node of HeatExchanger:AirToAir:SensibleAndLatent.
EnergyPlus V23-2-0 and earlier versions do not crash.
EnergyPlus V24-1-0, 24-2-0 and V25-1-0 do not crash with Fan:SystemModel.
I reproduced the bug with an ExampleFile TermRhGenericOAHeatRecMinExh.idf by adding a fan on the exhaust side of the HEX. Three idf files are here. The version is V25-1-0.
TermRhGenericOAHeatRecMinExh+FanSystemModel_V25-1-0.idf ---> Completed Successfully.
TermRhGenericOAHeatRecMinExh+FanVariableVolume_V25-1-0.idf ---> Crashed.
TermRhGenericOAHeatRecMinExh+FanConstantVolume_V25-1-0.idf ---> Crashed.

I got the crash when I updated my old energy models to V25-1-0, and wasted a few days to identify the cause. Although users are encouraged to use Fan:SystemModel, the original fan objects such as Fan:ConstantVolume and Fan:VariableVolume are not removed yet. I would appreciate it if the crash was fixed or the original fan objects were removed.



Reported on GitHub.
https://github.com/NREL/EnergyPlus/issues/11116