OpenStudio Result failed

asked 2022-04-08 13:13:51 -0500

PhanTom's avatar

updated 2022-12-08 14:54:45 -0500

This comes up when I run the simulationn and I don't understand why.

[14:00:02.000037 WARN] EnergyPlus reported area is 0 (m^2). OpenStudio reported area is 19289 (m^2). [14:00:04.771128 WARN] Interior Lighting Summary section failed and was skipped because: Optional not initialized. Detail on error follows: /private/var/folders/4s/_jcc1y3969j6nzhw2bz64c_w0000gn/T/osmodel-1649440784-6/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:3344:in get' /private/var/folders/4s/_jcc1y3969j6nzhw2bz64c_w0000gn/T/osmodel-1649440784-6/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:3344:inblock in interior_lighting_section' /private/var/folders/4s/_jcc1y3969j6nzhw2bz64c_w0000gn/T/osmodel-1649440784-6/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:3343:in each' /private/var/folders/4s/_jcc1y3969j6nzhw2bz64c_w0000gn/T/osmodel-1649440784-6/resources/measures/OpenStudioResults/resources/os_lib_reporting.rb:3343:ininterior_lighting_section' (eval):1:in block in run' /private/var/folders/4s/_jcc1y3969j6nzhw2bz64c_w0000gn/T/osmodel-1649440784-6/resources/measures/OpenStudioResults/measure.rb:291:ineval' /private/var/folders/4s/_jcc1y3969j6nzhw2bz64c_w0000gn/T/osmodel-1649440784-6/resources/measures/OpenStudioResults/measure.rb:291:in block in run' /private/var/folders/4s/_jcc1y3969j6nzhw2bz64c_w0000gn/T/osmodel-1649440784-6/resources/measures/OpenStudioResults/measure.rb:288:ineach' /private/var/folders/4s/_jcc1y3969j6nzhw2bz64c_w0000gn/T/osmodel-1649440784-6/resources/measures/OpenStudioResults/measure.rb:288:in run' :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:521:inapply_measure' :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:114:in block in apply_measures' :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:ineach_index' :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in apply_measures' :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_reporting_measures.rb:117:inperform' :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in step' :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:inrun' :/openstudio_cli.rb:1067:in execute' :/openstudio_cli.rb:803:inexecute' :/openstudio_cli.rb:1855:in <main>' eval:186:ineval' eval:186:in require_embedded_absolute' eval:171:inblock in require_embedded' eval:165:in each' eval:165:inrequire_embedded' eval:124:in require' eval:3:in<main>' [14:00:05.331287 ERROR] Found error in state 'reporting_measures' with message ["920: NaN not allowed in JSON::/ruby/2.7.0/json/common.rb:286:in generate'\n:/ruby/2.7.0/json/common.rb:286:inpretty_generate'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/adapters/output/local.rb:111:in block in communicate_measure_attributes'\neval:443:inopen'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/adapters/output/local.rb:110:in communicate_measure_attributes'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_reporting_measures.rb:122:inperform'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in step'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:inrun'\n:/openstudio_cli.rb:1067:in execute'\n:/openstudio_cli.rb:803:inexecute'\n ... (more)

edit retag flag offensive close merge delete

Comments

I'm not sure there's enough information here to solve the problem. I have not seen this specific error. The first things might be making sure your OS Reporting measure is up to date (via BCL for example), also running the model without the OS Reporting (or other reporting measures) measure to make sure that really is the source of the problems.

Also assuming the E+ simulation was successful (or you're able to get one by pulling some measures out) you can review the E+ outputs for any hints.

Craig Simmons's avatar Craig Simmons  ( 2022-04-11 09:49:01 -0500 )edit

Thank you. I've been struggling with the same issue and finally following steps in your comment resolved my simulation issue. The only thing is I receive the error of "Failed to save model, make sure that you do not have the location open and that you have correct write access". What is this for?

Houri's avatar Houri  ( 2022-04-19 04:01:34 -0500 )edit