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

Annual Overview Error

asked 2021-03-23 05:55:16 -0500

Luca's avatar

updated 2021-03-23 10:44:41 -0500

Hello everybody, I currently have an error on a very simple model that I am modelling on OpenStudio 3.1.0, E+9.4. The model is a simple box with 2 windows per wall (it helps me get acquainted with OpenStudio). I do not know how else to upload the file, so you can follow this link here. After the simulation is done (with some warnings) I get the following:

Warn: Annual Overview section failed and was skipped because: Optional not initialized. Detail on error follows.
Warn: AppData/Local/Temp/osmodel-1616494749-2/resources/measures/OpenStudioResults/measure.rb:286:in `eval
C:/Users/lucas/AppData/Local/Temp/osmodel-1616494749-2/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:540:in `block in output_data_end_use_table' 
C:/Users/lucas/AppData/Local/Temp/osmodel-1616494749-2/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:530:in `each'
C:/Users/lucas/AppData/Local/Temp/osmodel-1616494749-2/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:530:in `output_data_end_use_table'
C:/Users/lucas/AppData/Local/Temp/osmodel-1616494749-2/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:258:in `annual_overview_section'
(eval):1:in `block in run'
C:/Users/lucas/AppData/Local/Temp/osmodel-1616494749-2/resources/measures/OpenStudioResults/measure.rb:286:in `eval'
C:/Users/lucas/AppData/Local/Temp/osmodel-1616494749-2/resources/measures/OpenStudioResults/measure.rb:286:in `block in run'
C:/Users/lucas/AppData/Local/Temp/osmodel-1616494749-2/resources/measures/OpenStudioResults/measure.rb:282:in `each'
C:/Users/lucas/AppData/Local/Temp/osmodel-1616494749-2/resources/measures/OpenStudioResults/measure.rb:282:in `run'
:/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:519:in `apply_measure'
:/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:114:in `block in apply_measures'
:/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:67:in `each_index'
:/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:67:in `apply_measures'
:/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/jobs/run_reporting_measures.rb:105:in `perform'
:/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/run.rb:292:in `step'
:/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/run.rb:234:in `run'
:/openstudio_cli.rb:971:in `execute'
:/openstudio_cli.rb:761:in `execute'
:/openstudio_cli.rb:1755:in `<main>'
eval:175:in `eval'
eval:175:in `require_embedded_absolute'
eval:160:in `block in require_embedded'
eval:154:in `each'
eval:154:in `require_embedded'
eval:113:in `require'
eval:3:in `<main>'

I have a few warnings I still have not figured how to solve, but I think they are not the reason why OpenStudio is not outputting the Annual Overview. I checked that all thermal zones are assigned (it's only one really), so that should not be a problem. Does anyone know what to do to solve this issue? Thank you very much in advance!


edit retag flag offensive close merge delete



Seems to be the same issue as, which unfortunately does not have an answer.

shorowit's avatar shorowit  ( 2021-03-23 10:44:22 -0500 )edit

It's not the end of the world, I can deactivate the annual reporting in the options of the BCL OpenStudio results. But it's just a nice thing to have there...

Luca's avatar Luca  ( 2021-03-23 10:48:18 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-03-23 11:48:55 -0500

updated 2021-03-23 11:56:34 -0500

@Luca, I was able to replace the same issue you saw with the copy that was on BCL, but not the most current development copy on our public GitHub repository for common measures. I just the updated BCL copy, so you should see an update to your locally copy. If you don't. you can try to throw away our BCL directory or you can use the link above to the GitHub repository if you are comfortable with that.

To summary approaches
1. Just Quit and Restart the OpenStudio Application and it should find new version of measure. You can look under your user account in BCL directory for last modified date to confirm, or just try and run the simulation.
2. If it doesn't find the new copy try to throw away the BCL directory under your user account
3. If you are comfortable you can checkout or get a zip file of, and then set it on your computer to my measures directory. Just make sure you drag over the copy with "my" instead of "bcl" into your workflow.

edit flag offensive delete link more


Thank you for your comment! Initially, it did not find the measure automatically, I tried to download it by clicking on Sync Project Measures with the library but it did not work (after trying several times and restart OS). I then went into c:/Users/username/ and just renamed the BCL directory into BCL_copy. The first opening on OS was a bit slower (I suppose it was recreating the directory). First run it did not work, but then I tried to sync the library again, it updated the measure and it did the trick.

Now everything works correctly! Thank you very much for your help!

Luca's avatar Luca  ( 2021-03-24 04:57:23 -0500 )edit

Thanks for the update, glad that worked.

David Goldwasser's avatar David Goldwasser  ( 2021-03-24 09:25:05 -0500 )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


Question Tools


Asked: 2021-03-23 05:54:14 -0500

Seen: 160 times

Last updated: Mar 24 '21