First time here? Check out the Help page!
1 | initial version |
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/blob/main/integration_testing/basic_cli_python.py