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 -0500

Determinant's avatar

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

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 -0500

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's avatar Determinant  ( 2017-09-15 00:56:41 -0500 )edit

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

rpg777's avatar rpg777  ( 2017-09-15 09:23:44 -0500 )edit

Did this work? I am having trouble on windows.

See my post

bobw's avatar bobw  ( 2018-06-21 21:40:52 -0500 )edit

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

Determinant's avatar Determinant  ( 2018-06-22 21:19:06 -0500 )edit

Your Answer

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

Add Answer

Careers

Question Tools

1 follower

Stats

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

Seen: 581 times

Last updated: Aug 10 '18