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

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

asked 2022-11-10 09:40:52 -0600

Resh's avatar

updated 2022-11-10 13:28:47 -0600

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-11-10 14:53:47 -0600

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

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

Careers

Question Tools

1 follower

Stats

Asked: 2022-11-10 09:40:52 -0600

Seen: 129 times

Last updated: Nov 10 '22