1

Co-simulation with E+ and Radiance (in Openstudio)

Hi,

I am looking to perform a co-simulation for energy and lighting requirement of a space using energyplus and radiance. I am looking at Openstudio as an option and wondering how to set this up in Python environment to perform the cosimulation there (as opposed to using Openstudio Application).

I am aware of the Openstudio and energyplus bindings and followed some of the codes and tutorials by Julien Marrec (https://github.com/jmarrec). To perform Radiance analysis in Openstudio, it seems as you need to use Measures. Is there a way to streamline this process and use Python script as the mainframe to perform these simulations? Ideally I would like to use Energplus for energy analysis and Radiance as lighting analysis through Openstudio platform as it can "talk" to both. Any help/guidance/tutorials are appreciated. Thank you.

Resh's avatar
11
Resh
asked 2022-11-10 09:40:52 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2022-11-10 13:28:47 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

You could re-create the functionality of the OpenStudio Radiance measure using the Python bindings. We are also working on formally supporting Python measures for OpenStudio, but their may be a very straight forward approach you can use today. OpenStudio has a Command Line Interface (CLI) that can be called from Python. So you create an OpenStudio OSW (JSON file) that defines the measures and measure arguments, in place of an GUI like OS App). Then you call the run command in the OpenStudio CLI from a Python Script. Here is an example of a Python Script that calls the OpenStudio CLI to run an OSW. https://github.com/NREL/BESTEST-GSR/b...

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2022-11-10 14:53:47 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments