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

OpenStudio CLI with Radiance

asked 2017-09-13 18:59:54 -0600

Determinant gravatar image

updated 2018-08-10 17:12:37 -0600

Can the Radiance measure be used with OS 2.2.0 CLI (running on Ubuntu)?

The documentation says it applies measures "OpenStudio Measures to an OpenStudio Model and runs an EnergyPlus simulation"

UPDATE: I have a working version of a parametric runs program using the CLI, but, when I call openstudio from Python (subprocess.call), I have to use absolute file paths in the OSW (seed, weather, measure subdirectory) or else it doesn't find anything. If I use absolute file directories it works fine, but then the output measure subdirectory with the results mimics the absolute file path which, for me, is quite long.

Not sure if this is a OS-Radiance question or a Python question.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-09-13 21:52:25 -0600

Yes, I used the CLI in testing the measure a couple of releases ago; it should still work.

edit flag offensive delete link more

Comments

Interesting. I'll need to look into this. Maybe do parametrics this way instead of the PAT. (i.e. spreadsheet to json to python subprocess)

Determinant gravatar imageDeterminant ( 2017-09-15 00:56:41 -0600 )edit

That sounds like a plan! Please report back your experience.

rpg777 gravatar imagerpg777 ( 2017-09-15 09:23:44 -0600 )edit

Did this work? I am having trouble on windows.

See my post

bobw gravatar imagebobw ( 2018-06-21 21:40:52 -0600 )edit

@bobw I think I did try it and it worked, but on Linux.

Determinant gravatar imageDeterminant ( 2018-06-22 21:19:06 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2017-09-13 18:59:54 -0600

Seen: 349 times

Last updated: Aug 10