Skip to content

No match on WINDOW5 data file due to extra blank lines #11188

@kevin-moos

Description

@kevin-moos

Issue overview

The attached Window5DataFile_ExtraBlankLines.dat (generated by Berkeley Lab WINDOW 7) causes an error when running 1ZoneUncontrolled_Window5.idf.

  ** Severe ** No match on WINDOW5 data file for Construction=EXAMPLE B, or error in data file.
  **  ~~~  ** ...Looking on file=Window5DataFile_ExtraBlankLines.dat

The Window5 data file parser assumes line counts based on the "Window5 Data File for EnergyPlus" line, so the extra blank line causes EnergyPlus to fail to find the window name "Example B".

This defect is likely a one-off as it is unlikely any other applications are generating WINDOW5 data files with extra blank lines in random places. The broader issue is that the parsing logic doesn't handle extra whitespace in general and should be rewritten. I will open a separate enhancement issue to address this. #11194

Operating System (Multiple choices)

Any

Operating System Version

Any

Version of EnergyPlus

25.1

Unmethours link or helpdesk ticket number

N/A

Defect file

1ZoneUncontrolled_Window5.idf.txt
Window5DataFile_ExtraBlankLines.dat.txt

Metadata

Metadata

Assignees

Labels

DefectIncludes code to repair a defect in EnergyPlusLowComplexityApprovedUsed for subcontractor defect complexity requests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions