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

Failed to compute arguments for measure

asked 2024-12-04 06:05:03 -0600

Anudeep's avatar

updated 2024-12-04 10:48:26 -0600

" Failed to compute arguments for measure". I've tried to add new directory to the measures, didn't work. I've also tried using the new version of the measure. Any idea on how to solve it?

edit retag flag offensive close merge delete

Comments

Seems to be triggered here (Line 246), so assuming this is occurring when using the OpenStudio Application. Which version? Which measure: one you're developing, or from BCL? If so, which release version? What is the complete message, i.e. what followed the initial "Failed to compute arguments for measure"? Similar to this?

Denis Bourgeois's avatar Denis Bourgeois  ( 2024-12-05 05:57:00 -0600 )edit

I'm using openstudio 3.8.0 and open studio appliation 1.7.0. The measure is from BCL. It is a similar error as you have pointed, but slightly differrent. "D: la\OpenStudioApplication\OpenStudioApplication|src|shared_gui_components\MeasureManager.cpp@485 : Error computing arguments: MeasureManager Server encountered an error. "D:\OSMOpenstudio\src\cli\MeasureManager.cpp@357: Failed to instantiate a RubyMeasurelnfoBinding: NameError: uninitialized constant OpenStudio::Measure location= [" eval:416:in 'const_missing'", "eval: 1:in <main» '']="" traceback:="" eval:416:in="" 'const_missing'="" eval:="" 1:in"<="" p="">

Anudeep's avatar Anudeep  ( 2024-12-05 06:08:51 -0600 )edit

Trying to narrow down the issue: is it the measure itself? or an incompatibility with latest OpenStudio release? Can you share which measure from BCL? And is this limited to this specific measure, i.e. no issue running other measures?

Denis Bourgeois's avatar Denis Bourgeois  ( 2024-12-05 11:24:21 -0600 )edit
1

Quick question: why are you running OpenStudio (CLI/SDK) v3.8.0 and OpenStudioApplication 1.7.0? See compatibility matrix. The OpenStudioApplication MeasureManager is catching a returned error from the OpenStudio CLI here (Line 354). It's not recognizing the OpenStudio::Measure module - not good.

Denis Bourgeois's avatar Denis Bourgeois  ( 2024-12-05 11:29:30 -0600 )edit

It is the problem with all the meaures I'm using from BCL. I've tried it with the "openstudio results" measure, with "add rooftop pv" measure. Same error. I didn't update it to 3.8.0 as the software is on my work laptop and the IT policy takes longer to upgrade. I've however requested for an update now. Will let yiu know if the update leads to resolving this

Anudeep's avatar Anudeep  ( 2024-12-06 06:02:03 -0600 )edit

OK, good. A friendly reminder that the OpenStudio Application is self-contained - it comes with its own OpenStudio CLI/SDK package, so no need to download the CLI/SDK separately.

Denis Bourgeois's avatar Denis Bourgeois  ( 2024-12-06 12:00:19 -0600 )edit

I have updated the software. The error still persists with all measures I'm using from BCL. Not sure how to sort this out.

Anudeep's avatar Anudeep  ( 2024-12-09 09:53:36 -0600 )edit

@Anudeep, I'm unable to reproduce the issue with measure AddRooftopPV, using OpenStudio Application 1.8.0 / SDK 3.8.0. I unfortunately don't have any other suggestions for you, other than sticking to version 1.8.0 / 3.8.0. Of course you can always share a link to your .osm file (e.g. Google Drive).

Denis Bourgeois's avatar Denis Bourgeois  ( 2024-12-09 13:28:42 -0600 )edit

Here is the link to the osm file. https://drive.google.com/drive/folder...

Anudeep's avatar Anudeep  ( 2024-12-18 03:26:44 -0600 )edit
1

@Anudeep, I successfully ran your model with both measures, using the OpenStudioApplication (App) 1.8.0 on an another workstation (i.e. completely fresh install). Both measures were downloaded from BCL using the App. I suspect you may still be mixing/matching (incompatible) App vs measure versions (see here). Check both measure.xml files (under your OSM folder/measures) with a text editor: they should have a version_modified date of November 2024.

Denis Bourgeois's avatar Denis Bourgeois  ( 2024-12-18 13:15:18 -0600 )edit

Thanks a mil Denis! It is working now. I didn't check the compatinility matrix earlier and used a measure which is 3.9.0 compatible while using OS 3.8.0. Thanks for your help there.

Anudeep's avatar Anudeep  ( 2024-12-19 03:21:42 -0600 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2024-12-19 05:41:52 -0600

Anudeep's avatar

Thanks a mil Denis! It is working now. I didn't check the compatinility matrix earlier and used a measure which is 3.9.0 compatible while using OS 3.8.0. Thanks for your help there

edit flag offensive delete link more

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

Stats

Asked: 2024-12-04 06:05:03 -0600

Seen: 380 times

Last updated: Dec 04 '24