Skip to content

Copy/paste error in FluidProperties.cc #11513

@dareumnam

Description

@dareumnam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    TriageIssue needs to be assessed and labeled, further information on reported might be neededUnconfirmedDefectDefect has not yet confirmed to be an actual issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions