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

Revision history [back]

click to hide/show revision 1
initial version

The get_variable_handle method of the Data Transfer API takes 3 input parameters:

state, variable_name , and variable_key.

You should first request the variable to be available for access during simulations, by adding an Output:Variable to your input file. Then you can find the variable_name, and variable_key to your desired variable from the output.eso file.

In your case, the variable_key you provided seems incorrect.