2

OpenStudio CLI with Radiance

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.

Determinant's avatar
1.1k
Determinant
asked 2017-09-13 18:59:54 -0500, updated 2018-08-10 17:12:37 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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

rpg777's avatar
7k
rpg777
answered 2017-09-13 21:52:25 -0500
edit flag offensive 0 remove flag delete link

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
add a comment see more comments