Skip to content

HPXMLtoOpenStudio measure: Allow skipping output files - #2273

Merged
shorowit merged 2 commits into
masterfrom
allow_skip_output_files
Oct 5, 2026
Merged

shorowit merged 2 commits into
masterfrom
allow_skip_output_files

Conversation

@shorowit

@shorowit shorowit commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Pull Request Description

HPXMLtoOpenStudio measure: Allow output files to be individually skipped from being written.

The existing behavior can be pretty confusing. When running a simulation, the HPXMLtoOpenStudio measure first writes a results_annual.csv file (with a subset of outputs, i.e., just HVAC design loads and capacities), and then it is overwritten with the full set of outputs by the ReportSimulationOutputs measure. The HPXMLtoOpenStudio measure does this so that one can use the --skip-simulation argument to get HVAC design load outputs more quickly.

With this change, using the run_simulation.rb script will avoid writing the initial results_annual.csv file with the subset of outputs (unless the --skip-simulation argument is used). Additionally, users of the OSW files have more control over when the various output files (results_annual.csv, results_design_load_details.csv, and results_panel.csv) are written by the HPXMLtoOpenStudio measure.

Checklist

Not all may apply:

  • Schematron validator (EPvalidator.sch) has been updated
  • Sample files have been added/updated (openstudio tasks.rb update_hpxmls)
  • Tests have been added/updated (e.g., HPXMLtoOpenStudio/tests/test*.rb and/or workflow/tests/test*.rb)
  • Documentation has been updated
  • Changelog has been updated
  • openstudio tasks.rb update_measures has been run
  • No unexpected changes to simulation results of sample files

@shorowit
shorowit marked this pull request as ready for review September 29, 2026 19:30
@shorowit shorowit self-assigned this Sep 30, 2026
…HPXML into allow_skip_output_files

# Conflicts:
#	HPXMLtoOpenStudio/measure.xml
@shorowit
shorowit merged commit b327561 into master Oct 5, 2026
0 of 7 checks passed
@shorowit
shorowit deleted the allow_skip_output_files branch October 5, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant