Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Openstudio Envelope Section Error

asked 2018-01-29 13:20:39 -0600

Inigo Montoya's avatar

updated 2018-01-31 00:45:33 -0600

Avi's avatar

I'm having trouble deciphering my simulation error. It appears isolated to an envelope error but I am a rookie at this.

Running Openstudio 2.3.0

  Result: Success
  Initial Condition: Gathering data from EnergyPlus SQL file and OSM model.
  Final Condition: Generated report with 20 sections to ./report.html.
  Warn: Envelope section failed and was skipped because: Optional not initialized. Detail on error follows.
  Warn: C:/Users/loum/AppData/Local/Temp/OpenStudioApp.Z14684/resources/measures/OpenStudioResults/measure.rb:192:in `eval'
C:/Users/loum/AppData/Local/Temp/OpenStudioApp.Z14684/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:1628:in `block in envelope_section_section'
C:/Users/loum/AppData/Local/Temp/OpenStudioApp.Z14684/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:1626:in `each'
C:/Users/loum/AppData/Local/Temp/OpenStudioApp.Z14684/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:1626:in `envelope_section_section'
(eval):1:in `block in run'
C:/Users/loum/AppData/Local/Temp/OpenStudioApp.Z14684/resources/measures/OpenStudioResults/measure.rb:192:in `eval'
C:/Users/loum/AppData/Local/Temp/OpenStudioApp.Z14684/resources/measures/OpenStudioResults/measure.rb:192:in `block in run'
C:/Users/loum/AppData/Local/Temp/OpenStudioApp.Z14684/resources/measures/OpenStudioResults/measure.rb:187:in `each'
C:/Users/loum/AppData/Local/Temp/OpenStudioApp.Z14684/resources/measures/OpenStudioResults/measure.rb:187:in `run'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/util/measure.rb:454:in `apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/util/measure.rb:74:in `block in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/util/measure.rb:32:in `each_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/util/measure.rb:32:in `apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/jobs/run_reporting_measures.rb:85:in `perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/run.rb:261:in `step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/run.rb:210:in `run'
:/openstudio_cli.rb:804:in `execute'
:/openstudio_cli.rb:620:in `execute'
:/openstudio_cli.rb:1517:in `<main>'
eval:85:in `eval'
eval:85:in `require_embedded_absolute'
eval:70:in `block in require'
eval:64:in `each'
eval:64:in `require'
eval:2:in `<main>'
edit retag flag offensive close merge delete

Comments

I removed all measures which included Openstudio Results and the Add Output Diagnostics measure. It seems to have eliminated the error, however, I would like to use the Openstudio Results measure. Any thoughts on how to correct this?

Inigo Montoya's avatar Inigo Montoya  ( 2018-01-29 14:17:53 -0600 )edit

@Inigo Montoya, Are you running this in the OpenStudio Application, PAT, or through command line or ruby?

I'm a little confused. On the version of the measure on BCL line 1628 of the resource file is this.

if ext_const_base.include? surface.construction.get

The EnergyPlus simulation should have failed if a surface didn't have a construction, and the reporting measure should run when EnergyPlus fails. Do you have the EnergyPlus html output, and do you have any spaces in your model that are not assigned to a thermal zone? And do you have any issues with other sections of the measure?

David Goldwasser's avatar David Goldwasser  ( 2018-01-29 16:58:51 -0600 )edit

This is in Openstudio. There is an attic space that is not assigned to a thermal zone, maybe that's the issue. No other issues I've found though though.

I do have the html output. I'm not sure the best way to upload the info. Link to it is here: https://drive.google.com/file/d/1Pgwx...

Inigo Montoya's avatar Inigo Montoya  ( 2018-02-01 15:01:14 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-01 16:26:13 -0600

updated 2018-02-01 16:28:07 -0600

Having a space in the model that isn't assigned to a thermal zone would do this, at least if a surface in the space didn't have a construction assigned. It is an edge case I didn't consider because typically the simulation would fail because a surface in space "a" in the model would be matched to a surface in space "b" that isn't in the model.

We also have a check for the building area that OpenStudio reports vs. EnergyPlus that will throw a warning, which would also normally catch this, but my guess is the attic is set not to be included in the building area.

I can add a note to update the measure to add a warning, probably in the Building Summary table if there are space in the model that are not assigned to thermal zones.

edit flag offensive delete link more

Comments

You're correct. The attic is set to not be included in the building area. I will start looking into that space and see what I can find. Thanks.

Inigo Montoya's avatar Inigo Montoya  ( 2018-02-01 17:28:19 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2018-01-29 13:20:39 -0600

Seen: 405 times

Last updated: Feb 01 '18