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

Revision history [back]

You can use get_meter_handle and get_meter_value. They work exactly like get_variable_handle and get_variable_value.

I have a short example here: https://github.com/jmarrec/OpenStudio_to_EnergyPlusAPI/blob/main/OpenStudio_to_EnergyPlusAPI.ipynb (jump to "Use a class instead of globals"), but E+ also ships with multiple examples in the ExampleFiles folder (they all start with PythonPlugin)