Issue overview
There appears to be a copy/paste error in FluidProperties.cc error handling for glycol viscosity range checks here.
Both the if and else if branches check error == GlycolError::ViscosityHigh, which makes the second branch unreachable. Based on the warning messages and recurring warning index usage, the first branch likely intended to check GlycolError::ViscosityLow. As written, one of the viscosity out-of-range cases is never handled correctly.
Operating System (Multiple choices)
Windows
Operating System Version
11
Version of EnergyPlus
26.1.0
Unmethours link or helpdesk ticket number
N/A
Defect file
No response
Issue overview
There appears to be a copy/paste error in
FluidProperties.ccerror handling for glycol viscosity range checks here.Both the
ifandelse ifbranches checkerror == GlycolError::ViscosityHigh, which makes the second branch unreachable. Based on the warning messages and recurring warning index usage, the first branch likely intended to checkGlycolError::ViscosityLow. As written, one of the viscosity out-of-range cases is never handled correctly.Operating System (Multiple choices)
Windows
Operating System Version
11
Version of EnergyPlus
26.1.0
Unmethours link or helpdesk ticket number
N/A
Defect file
No response