View Data makes simulation to fail

asked 2016-04-27 12:51:18 -0500

efigueira's avatar

updated 2016-10-18 14:29:06 -0500

I try to run View Data measure, but it makes the simulation to fail. Below I'm pasting a copy of the last messages in simulation windows. Does anybody know what is happening?

Continuing Simulation at 12/24 for RUN PERIOD 1

Updating Shadowing Calculations, Start Date=12/31

Writing tabular output file results using HTML format.

Computing Life Cycle Costs and Reporting

Writing final SQL reports

EnergyPlus Run Time=00hr 01min  9.89sec

Script executing from: C:/Users/Lem/AppData/Local/Temp/OpenStudio.cY3416/resources/run/6-UserScript-0

Found argument 'file_source' with value 'Last OSM'.

Found argument 'reporting_frequency' with value 'Hourly'.

Found argument 'variable1_name' with value 'Surface Outside Face Temperature'.

Found argument 'variable2_name' with value 'Surface Inside Face Temperature'.

Found argument 'variable3_name' with value 'Zone Mean Radiant Temperature'.

Found UserScript 'ViewData'.
edit retag flag offensive close merge delete

Comments

No idea if this is related but have you updated the measures? https://unmethours.com/question/15883...

Jamie Bull's avatar Jamie Bull  ( 2016-04-28 03:48:04 -0500 )edit

Did you make sure that you requested these variables in the output? 'Surface Outside Face Temperature' 'Surface Inside Face Temperature' 'Zone Mean Radiant Temperature'

Double-check they are 'on' in the output variables tab in OpenStudio.

mdahlhausen's avatar mdahlhausen  ( 2016-04-28 15:33:18 -0500 )edit

Hello, I am having a similar problem, OpenStudio can not generate view data report and causes the simulation to fail. I have updated measure and made sure that my requested variables are 'on' in the output variables tab. Any more suggestions? Thank you

Dubravka's avatar Dubravka  ( 2019-09-24 04:40:51 -0500 )edit

what is the error that you are getting?

mdahlhausen's avatar mdahlhausen  ( 2019-09-24 10:21:48 -0500 )edit

Applying ViewData Result: Fail Error: undefined method each_index' for nil:NilClass C:/Users/Dubravka/AppData/Local/Temp/OpenStudioApp.n12928/resources/measures/ViewData 1 1/resources/va3c.rb:878:inblock in build_scene' C:/Users/Dubravka/AppData/Local/Temp/OpenStudioApp.n12928/resources/measures/ViewData 1 1/resources/va3c.rb:865:in each' C:/Users/Dubravka/AppData/Local/Temp/OpenStudioApp.n12928/resources/measures/ViewData 1 1/resources/va3c.rb:865:inbuild_scene' ...

Dubravka's avatar Dubravka  ( 2019-09-25 04:28:43 -0500 )edit

This appears to be a case of the data not being available (it is trying to loop over an object, but the object is nil). Need more information to be able to understand the error further.

mdahlhausen's avatar mdahlhausen  ( 2019-09-25 17:48:55 -0500 )edit

Is there some mail that I could send you the whole message? I would be very grateful for the help, I am obviously doing something wrong and I have spent quite a while on this model.

Dubravka's avatar Dubravka  ( 2019-09-26 02:11:45 -0500 )edit

post it on google drive or dropbox

mdahlhausen's avatar mdahlhausen  ( 2019-09-26 11:42:16 -0500 )edit
Dubravka's avatar Dubravka  ( 2019-09-26 12:08:06 -0500 )edit

looks like you have an errant or malformed surface or subsurface in your model. I suggest checking the energyplus .err file and closely looking at your model geometry to see if you can identify it.

mdahlhausen's avatar mdahlhausen  ( 2019-09-29 12:19:26 -0500 )edit

Thank you! I will look into it.

Dubravka's avatar Dubravka  ( 2019-09-30 02:32:46 -0500 )edit