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

Simulation fail with ddy file

asked 2015-11-05 13:03:27 -0600

updated 2020-01-20 13:37:15 -0600

I'm using OpenStudio 1.9 to modelize a small passive greenhouse. When I choose the weather file for my location (found on the US department of energy website) , the simulation works just fine. But when I try to import the DDY file for the same location, the OpenStudio simulation fails and the OS report won't be generated, even though the EnergyPlus simulation was completed.

EnergyPlus Completed Successfully-- 8 Warning; 0 Severe Errors; Elapsed Time=00hr 00min 17.85sec

I've tried to run the simulation with another weather file and another DDY file and I don't have this problem. Can someone tell me what seems to be the problem with my DDY file? I found it here. The name of the file is Montreal Intl AP 716270 (CWEC)

Stderr file

Here's the content of the stderr file

DL is deprecated, please use Fiddle

C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/user_script.rb:155:in `eval': Optional not initialized (RuntimeError)

from C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/resources/os_lib_reporting.rb:2087:in `block (2 levels) in design_day_table'

from C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/resources/os_lib_reporting.rb:2066:in `each'

from C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/resources/os_lib_reporting.rb:2066:in `block in design_day_table'

from C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/resources/os_lib_reporting.rb:2063:in `each'

from C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/resources/os_lib_reporting.rb:2063:in `design_day_table'

from C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/resources/os_lib_reporting.rb:184:in `building_summary_section'

from (eval):1:in `block in run'

from C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/user_script.rb:155:in `eval'

from C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/user_script.rb:155:in `block in run'

from C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/user_script.rb:153:in `each'

from C:/Users/ak35000/AppData/Local/Temp/OpenStudio.cY3576/resources/run/6-UserScript-0/user_script.rb:153:in `run'

from in.rb:387:in `<main>'
edit retag flag offensive close merge delete

Comments

If your simulation fails after EnergyPlus completes successfully, there is an error in the last UserScript portion of the OpenStudio workflow. You can navigate to the file that contains the specific error description by switching to the tree view of the Run Simulation tab, and opening the stderr file in a text editor. See this screenshot. If you can post the contents of that file, it would help figure out what's happening. It could be your DDY is fine, but something about it doesn't play nice with the standard report measure.

ericringold's avatar ericringold  ( 2015-11-05 15:08:28 -0600 )edit

I've edited my question with the content of the stderr file

Frederic Leveille's avatar Frederic Leveille  ( 2015-11-06 09:43:13 -0600 )edit

So it looks to be running into a problem with this query, but I don't see anything wrong with the sql file tables generated with this DDY. Elevating this to @David Goldwasser.

ericringold's avatar ericringold  ( 2015-11-06 10:19:54 -0600 )edit

It fails with the Quebec 717140 (CWEC) too

GilbertLM's avatar GilbertLM  ( 2015-12-02 11:28:08 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
4

answered 2015-12-04 15:56:26 -0600

updated 2015-12-04 16:12:35 -0600

Looks like the issue is an apostrophe in the design day object names. MONTREAL INT'L ANN CLG .4% CONDNS DB=>MWB

This is already documented in this issue for thermal zone names, but seems to affect other objects as well. It isn't clear if the fix will be in OpenStudio or EnergyPlus.

The good news is that for OpenStudio 1.10 (due out at the end of the month) each section of the standard report is isolated. A ruby error (e.g. caused by bad sql query or bad model api, etc.) will only result in that section being skipped vs. the entire measure failing.

For now you can edit the design day objets in the GUI to remove the apostrophe.

edit flag offensive delete link more

Comments

I've removed the apostrophe from the weather files and it works fine thanks!

Frederic Leveille's avatar Frederic Leveille  ( 2015-12-07 12:45:33 -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

2 followers

Stats

Asked: 2015-11-05 13:03:27 -0600

Seen: 400 times

Last updated: Dec 04 '15